Fetch an absolute URL (e.g. next_href from paginated responses).
next_href
Used internally for pagination — follows the same retry logic as scFetch.
Absolute URL to fetch (typically a next_href value)
Optional
OAuth access token to include in the Authorization header
Optional retry configuration override
Parsed JSON response
When the API returns a non-retryable error status
import { scFetchUrl } from 'soundcloud-api-ts';const nextPage = await scFetchUrl<SoundCloudPaginatedResponse<SoundCloudTrack>>( response.next_href, 'your-access-token',); Copy
import { scFetchUrl } from 'soundcloud-api-ts';const nextPage = await scFetchUrl<SoundCloudPaginatedResponse<SoundCloudTrack>>( response.next_href, 'your-access-token',);
Fetch an absolute URL (e.g.
next_hreffrom paginated responses).Used internally for pagination — follows the same retry logic as scFetch.