SoundCloud Search API
API health
- 24h health
- Normal
- 24h average time
- —
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Search SoundCloud tracks by keyword, with artist, genre, tags, duration, plays, likes, reposts, downloads and the license each track carries. Duration is in seconds, and the license field is worth checking before any reuse or remix.
Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.
Please help me write a data collection script with the EveryInfra SoundCloud Search endpoint (soundcloud/search).
Endpoint contract:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to soundcloud and action to search, and put the parameters inside params.
- Required parameters:
- keyword: Specifies the target query string used to discover tracks via search, artists via search_users, or sets via search_playlists. Although shared across endpoints, each action yields distinct entity types.
- Optional parameters:
- limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: id, url, title, text, genre, tags, duration_sec, duration_seconds, artist_name, artist_url, artist_avatar_url, artist_follower_count; 21 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=soundcloud.
- Example request body:
{
"platform": "soundcloud",
"action": "search",
"params": {
"keyword": "ambient piano"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | soundcloud | Platform identifier, fixed value. |
action | body | string | Yes | search | Capability identifier, fixed value. |
keyword | body.params | Not declared | Yes | - | Specifies the target query string used to discover tracks via search, artists via search_users, or sets via search_playlists. Although shared across endpoints, each action yields distinct entity types. On the playlist action, this parameter serves as a fallback search term only when a full /sets/ URL is missing, which does not guarantee an exact playlist match. |
limit | body.params | integer (1–100) | No | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |
Code samples
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "soundcloud",
"action": "search",
"params": {
"keyword": "ambient piano"
}
}'[OpenAPI definition (JSON)]Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.
{
"id": "req_…",
"platform": "soundcloud",
"action": "search",
"results": [
{
"id": 1766135160,
"url": "https://soundcloud.com/ambientmusicalgenre/good-lee-bliss-in-chaos-piano-edit",
"title": "Good Lee - Bliss in Chaos (Piano Edit)",
"text": "🎇 Bliss in Chaos.\n🎧 Stream: https://open.spotify.com/track/5TaBEN8vARmiaPrteQmqpy\n🌆 Spotify Ambient Playlist: http://bit.ly/AmbientSpotify\n\n🎊 Subscribe to Ambient and click on the bell for more wonderful music!\n\n📸 Ambient Instagram: http://bit.ly/AmbientInstagram\n🎁 Ambient Shop: …",
"genre": "Ambient",
"tags": [
"Classical",
"Piano",
"Ambient"
],
"duration_sec": 202,
"artist_name": "Ambient",
"artist_url": "https://soundcloud.com/ambientmusicalgenre",
"artist_avatar_url": "https://i1.sndcdn.com/(已隐去)",
"artist_follower_count": 57569,
"artist_verified": false,
"play_count": 1524,
"like_count": 33,
"comment_count": 1,
"repost_count": 4,
"download_count": 0,
"artwork_url": "https://i1.sndcdn.com/artworks-Q6zUENkFLRjlrWa7-Ji7q8w-large.jpg",
"license": "all-rights-reserved",
"posted_at": "2024-03-05T19:06:52+00:00",
"platform": "soundcloud"
},
{
"id": 1289751166,
"url": "https://soundcloud.com/esteban-martinez-749274166/the-owl-house-outro-ambient",
"title": "The Owl House - Outro ( Ambient Piano Lofi )",
"text": "",
"genre": "Ambient",
"tags": [],
"duration_sec": 141,
"artist_name": "Steb",
"artist_url": "https://soundcloud.com/esteban-martinez-749274166",
"artist_avatar_url": "https://i1.sndcdn.com/(已隐去)",
"artist_follower_count": 37,
"artist_verified": false,
"play_count": 70246,
"like_count": 469,
"comment_count": 56,
"repost_count": 13,
"download_count": 0,
"artwork_url": "https://i1.sndcdn.com/artworks-VKNHiJD2pRuiVmfx-LPQ46w-large.jpg",
"license": "all-rights-reserved",
"posted_at": "2022-06-18T05:15:45+00:00",
"platform": "soundcloud"
}
],
"count": 20,
"billing": {
"charged": …,
"charged_usd": …,
"balance_after_usd": …,
…
},
"quota": { … }
}Response fields
Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
url | Link to the record on the platform. |
title | Title. null when the platform has no titles (for example text-only posts). |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
genre | Keeps the platform's own meaning |
tags | Array of tags. An empty array, not null, when there are none. |
duration_sec | Keeps the platform's own meaning |
duration_seconds | Duration in seconds. null for content that is not video or audio. |
artist_name | Keeps the platform's own meaning |
artist_url | Keeps the platform's own meaning |
artist_avatar_url | Keeps the platform's own meaning |
artist_follower_count | Keeps the platform's own meaning |
artist_verified | Keeps the platform's own meaning |
play_count | Keeps the platform's own meaning |
like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
comment_count | Comments. null means not disclosed, not 0. |
repost_count | Reposts (as distinct from quote posts). null means not disclosed. |
download_count | Keeps the platform's own meaning |
artwork_url | Keeps the platform's own meaning |
license | Keeps the platform's own meaning |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
- 401
- Missing or invalid key. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
- 422
- Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
- 402
- Insufficient balance. Top up first.
- 429
- The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
- 503
- Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
- 200 empty
- The request completed without data and is not charged (billing.reason = empty_result_refunded).
Official references
Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- SoundCloud: Tracks, People, and Playlists as Distinct Search Targets ↗
Official SoundCloud search documentation separates individual audio tracks, user accounts, and playlists, where user accounts can represent bands or listeners. Distinct actions are used to query these resource types. The presence of date, duration, or personalized filters on SoundCloud's web interface does not imply support for those options in this endpoint.
Checked 2026-09-04