> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Track

> Retrieves public Apple Music song details by id or URL. Album track URLs with an i= song id are supported.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `id` | `string` | No | Apple Music song id. Some songs have standalone song URLs; for album tracks, use the url parameter. |
| `url` | `string` | No | Apple Music song URL or album track URL. |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "data": {
    "id": "1468058169",
    "kind": "song",
    "title": "I Forgot That You Existed",
    "album": null,
    "url": "https://music.apple.com/us/album/i-forgot-that-you-existed/1468058165?i=1468058169",
    "duration_ms": 170651,
    "track_number": 1,
    "artist_name": null,
    "explicit": false
  }
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.