SocialTap Docs API
The docs and site themselves: feedback on a page, from readers and agents, the site's sign-up funnel and its free tools. Free.
The docs and site themselves: feedback on a page, from readers and agents, the site's sign-up funnel and its free tools. Free.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/socialtap-dev:socialtap-dev-docs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: support@socialtap.dev
name: SocialTap support
description: 'SocialTap is the social media scraper API for developers and AI agents. Send a public link, a handle or a search and get live data back in one schema. Failed requests are free. Available now: activity on GitHub; ads on Facebook, Google, LinkedIn and TikTok; albums on Apple Music and Spotify; comments on Bluesky, Facebook, GitHub, Hacker News, Instagram, LinkedIn, Reddit, Rumble, Snapchat, Threads, TikTok, X and YouTube; communities on Facebook, LinkedIn, Reddit and X; contribution calendars on GitHub; downloads on TikTok; effects on TikTok; embeds on Instagram; engagement stats on Facebook, Instagram, LinkedIn, Reddit, Rumble, TikTok, X and YouTube; events on Facebook; hashtags on Instagram and TikTok; issues on GitHub; jobs on Hacker News and LinkedIn; livestreams on TikTok, Twitch and X; offers on Amazon; places on Facebook and Instagram; playlists on Amazon, Apple Music, Instagram, Pinterest, Spotify, TikTok and X; podcasts on Spotify; posts on Amazon, Apple Music, Bluesky, Facebook, Hacker News, Instagram, Kick, Kwai, LinkedIn, Pinterest, Reddit, Rumble, Snapchat, SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; products on Amazon, Facebook and TikTok Shop; profiles on Amazon, Apple Music, Bluesky, Facebook, GitHub, Google, Hacker News, Instagram, Komi, Kwai, LinkedIn, Linkme, Linktree, Lnk.Bio, Pillar, Pinterest, Reddit, Rumble, Snapchat, SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; readmes on GitHub; relationships on X; releases on GitHub; repositories on GitHub; reviews on Amazon and TikTok Shop; sounds on Instagram and TikTok; suggestions on Google, Instagram and TikTok; topics on Instagram and Pinterest; transcripts on Facebook, Instagram, Kick, LinkedIn, Reddit, Rumble, TikTok, Twitch, X and YouTube; trends on Instagram and Pinterest; usernames on Instagram; web pages on Pinterest; web results on Facebook, Instagram, LinkedIn, Telegram, TikTok and X.
**AI agents and coding assistants:** before writing integration code, read llms.txt (how to authenticate, pick an endpoint, paginate and handle errors, plus every endpoint), the agent guide and the API reference. Every docs page is also Markdown: append `index.md` to its URL or send `Accept: text/markdown`.
Authenticate with the `x-api-key` header. Branch on `error.code`, never on `message`; retry only the codes an operation''s `x-socialtap-retry` lists as retryable (error codes). Plans do not limit request rate: a per-account runaway ceiling answers `rate_limited` with a `retry-after` header.
Every operation states its price in `x-socialtap-pricing` (credits per request, or per page for lists), list operations their cursor paging in `x-socialtap-pagination`.
Failed requests and cache hits cost no credits.'
termsOfService: https://socialtap.dev/terms/
title: SocialTap Docs API
version: '1'
servers:
- url: https://socialtap.dev
security:
- apiKey: []
tags:
- description: 'The docs and site themselves: feedback on a page, from readers and agents, the site''s sign-up funnel and its free tools. Free.'
name: Docs
paths:
/v1/tool_runs:
post:
description: 'What the site''s free tools send: one lookup on an endpoint that has a free tool, with no account. Not for API clients: limited per IP address and behind a bot check. The same data with an API key has no such limits.
**Auth:** none.'
operationId: tool_runs.create
requestBody:
content:
application/json:
schema:
properties:
cursor:
description: page.next_cursor of the previous lookup, for the next page of a list (counts as a lookup).
maxLength: 4096
type:
- string
- 'null'
fresh:
description: Skip the cache (counts as a lookup).
type:
- boolean
- 'null'
input:
description: 'What the visitor typed: the value of the endpoint''s identifying param (empty for a tool with options only).'
maxLength: 2048
type: string
params:
additionalProperties:
maxLength: 256
type: string
description: 'The tool''s options the visitor set (a language, a country), by param name: only the tool''s own options.'
type: object
part:
description: 'With cursor: the endpoint (catalog ID) of the list to page, one the tool runs beside its own; absent pages the tool''s own.'
maxLength: 64
type:
- string
- 'null'
platform:
description: 'On a tool that picks one platform: the platform (its ID) to run for an input that is no link; a link''s own platform wins.'
maxLength: 32
type:
- string
- 'null'
token:
description: The page's Cloudflare Turnstile response, required where the bot check is set up.
maxLength: 2048
type:
- string
- 'null'
tool:
description: The tool's slug (its page is /tools/<slug>/).
maxLength: 64
type: string
required:
- tool
- input
type: object
required: true
responses:
'200':
content:
application/json:
schema:
properties:
data:
properties:
across:
description: 'A search across every platform: each platform''s search, in order, with its response or its error; [] for any other tool.'
items:
properties:
endpoint:
description: The search it ran (its catalog ID).
type: string
error:
description: Its error object, as the API returns it; null when it answered.
result:
description: Its response, as the API returns it; null when it failed.
required:
- endpoint
- result
- error
type: object
type: array
counted:
description: 'Whether this lookup used one of the address''s free lookups: false when the cache answered all of it.'
type: boolean
endpoint:
description: The endpoint it ran (its catalog ID); empty on a search across every platform.
type: string
object:
description: Always tool_run.
enum:
- tool_run
type: string
remaining:
description: What is left of this address's free lookups.
properties:
day:
description: Lookups left today.
type: integer
hour:
description: Lookups left this hour.
type: integer
required:
- hour
- day
type: object
result:
description: 'The endpoint''s response, exactly as the API returns it to an API key: its data and meta (and page, for a list). null on a search across every platform (across).'
tool:
description: The tool's slug.
type: string
with:
description: The endpoints run beside the tool's own on the same input (catalog TOOLS with), in order, each with its response or its error; [] for none, and on a page of one of them.
items:
properties:
endpoint:
description: The search it ran (its catalog ID).
type: string
error:
description: Its error object, as the API returns it; null when it answered.
result:
description: Its response, as the API returns it; null when it failed.
required:
- endpoint
- result
- error
type: object
type: array
required:
- object
- tool
- endpoint
- result
- across
- with
- remaining
- counted
type: object
meta:
properties:
client_request_id:
description: Your x-client-request-id, echoed; null when you sent none.
type:
- string
- 'null'
credits_charged:
description: 'Always 0: the gateway''s own routes are free (a job''s items are charged as they end, at their endpoints'' prices).'
type: integer
credits_remaining:
description: Account balance; null without an account (signup) or when SocialTap could not read it.
type:
- integer
- 'null'
request_id:
description: Unique request ID; include it when contacting support.
type: string
warnings:
description: Things to act on that did not fail the request. [] when none.
items:
properties:
code:
description: Machine-readable warning code (see the warnings list). New codes may be added.
type: string
doc_url:
description: Where to read more (the changelog entry, the endpoint's docs).
type: string
fields:
description: 'partial_data: the output fields (catalog paths such as metrics.view_count) that are null or [] because part of the data could not be fetched; absent for other codes.'
items:
type: string
type: array
message:
description: What to do about it.
type: string
required:
- code
- message
- doc_url
type: object
type: array
required:
- request_id
- credits_charged
- credits_remaining
- client_request_id
- warnings
type: object
required:
- data
- meta
type: object
description: Run a free tool
headers:
x-client-request-id:
$ref: '#/components/headers/x-client-request-id'
x-credits-charged:
$ref: '#/components/headers/x-credits-charged'
x-credits-remaining:
$ref: '#/components/headers/x-credits-remaining'
x-request-id:
$ref: '#/components/headers/x-request-id'
'400':
$ref: '#/components/responses/error.invalid_input'
'403':
$ref: '#/components/responses/error.forbidden'
'429':
$ref: '#/components/responses/error.rate_limited'
security: []
summary: Run a free tool
tags:
- Docs
x-socialtap-auth:
auth: none
role: ''
scope: ''
x-socialtap-pricing:
max_credits: 0
min_credits: 0
prices: []
unit: request
x-socialtap-retry:
failed_requests_free: true
idempotent: false
retry_after_codes:
- rate_limited
retry_after_header: retry-after
retryable_codes:
- rate_limited
components:
responses:
error.rate_limited:
content:
application/json:
examples:
rate_limited:
$ref: '#/components/examples/rate_limited'
schema:
$ref: '#/components/schemas/ErrorBody'
description: '`rate_limited`: The account passed its runaway-protection ceiling: a high per-account limit that stops a broken client loop (plans have no rate limit). Requests without an API key (signup, the MCP server''s tool listing and find_endpoint) are limited per IP address instead. It also stops an account whose failed requests in the last hour cost far more than its successful ones paid for: failures are free within a limit (the message says so), and successes raise it. Wait the seconds in the retry-after header, then retry. If your steady traffic needs more, ask support to raise the ceiling; without an API key, send one.'
headers:
retry-after:
$ref: '#/components/headers/retry-after'
x-credits-charged:
$ref: '#/components/headers/x-credits-charged'
x-credits-remaining:
$ref: '#/components/headers/x-credits-remaining'
x-request-id:
$ref: '#/components/headers/x-request-id'
error.forbidden:
content:
application/json:
examples:
forbidden:
$ref: '#/components/examples/forbidden'
schema:
$ref: '#/components/schemas/ErrorBody'
description: '`forbidden`: The API key is valid but may not make this request, and details.reason says why: the account is suspended, the key lacks the route''s scope, has expired, or was used from an IP outside its allowlist, or a rotated key''s previous secret was used for a call that needs the admin scope. A running job stops with it too when its account is suspended or the key that created it is revoked or expires. It is about the key, never the item: a private item is private_or_unavailable, also 403, so branch on the code. Act on details.reason. suspended: contact support. scope: use a key with details.required_scope. previous_secret: use the new secret. key_expired or key_revoked: create a new key. ip_not_allowed: call from an allowed IP.'
headers:
x-credits-charged:
$ref: '#/components/headers/x-credits-charged'
x-credits-remaining:
$ref: '#/components/headers/x-credits-remaining'
x-request-id:
$ref: '#/components/headers/x-request-id'
error.invalid_input:
content:
application/json:
examples:
invalid_input:
$ref: '#/components/examples/invalid_input'
schema:
$ref: '#/components/schemas/ErrorBody'
description: '`invalid_input`: A parameter is missing or malformed, or the link is not one this endpoint takes. Fix the parameter named in param as the message says. For a link of the wrong kind, call an endpoint listed in details.endpoints, when there is one.'
headers:
x-credits-charged:
$ref: '#/components/headers/x-credits-charged'
x-credits-remaining:
$ref: '#/components/headers/x-credits-remaining'
x-request-id:
$ref: '#/components/headers/x-request-id'
examples:
rate_limited:
summary: 'The account passed its runaway-protection ceiling: a high per-account limit that stops a broken client loop (plans have no rate limit). Requests without an API key (signup, the MCP server''s tool listing and find_endpoint) are limited per IP address instead. It also stops an account whose failed requests in the last hour cost far more than its successful ones paid for: failures are free within a limit (the message says so), and successes raise it.'
value:
error:
code: rate_limited
message: 'The account passed its runaway-protection ceiling: a high per-account limit that stops a broken client loop (plans have no rate limit). Requests without an API key (signup, the MCP server''s tool listing and find_endpoint) are limited per IP address instead. It also stops an account whose failed requests in the last hour cost far more than its successful ones paid for: failures are free within a limit (the message says so), and successes raise it.'
request_id: req_3f9c2a7d1e8b4c6a9f0e2d4b6a8c0e1f
status: 429
retryable: true
param: null
remediation: Wait the seconds in the retry-after header, then retry. If your steady traffic needs more, ask support to raise the ceiling; without an API key, send one.
doc_url: https://socialtap.dev/docs/errors/#rate_limited
details: {}
charged: false
invalid_input:
summary: A parameter is missing or malformed, or the link is not one this endpoint takes.
value:
error:
code: invalid_input
message: A parameter is missing or malformed, or the link is not one this endpoint takes.
request_id: req_3f9c2a7d1e8b4c6a9f0e2d4b6a8c0e1f
status: 400
retryable: false
param: null
remediation: Fix the parameter named in param as the message says. For a link of the wrong kind, call an endpoint listed in details.endpoints, when there is one.
doc_url: https://socialtap.dev/docs/errors/#invalid_input
details: {}
charged: false
forbidden:
summary: 'The API key is valid but may not make this request, and details.reason says why: the account is suspended, the key lacks the route''s scope, has expired, or was used from an IP outside its allowlist, or a rotated key''s previous secret was used for a call that needs the admin scope. A running job stops with it too when its account is suspended or the key that created it is revoked or expires. It is about the key, never the item: a private item is private_or_unavailable, also 403, so branch on the code.'
value:
error:
code: forbidden
message: 'The API key is valid but may not make this request, and details.reason says why: the account is suspended, the key lacks the route''s scope, has expired, or was used from an IP outside its allowlist, or a rotated key''s previous secret was used for a call that needs the admin scope. A running job stops with it too when its account is suspended or the key that created it is revoked or expires. It is about the key, never the item: a private item is private_or_unavailable, also 403, so branch on the code.'
request_id: req_3f9c2a7d1e8b4c6a9f0e2d4b6a8c0e1f
status: 403
retryable: false
param: null
remediation: 'Act on details.reason. suspended: contact support. scope: use a key with details.required_scope. previous_secret: use the new secret. key_expired or key_revoked: create a new key. ip_not_allowed: call from an allowed IP.'
doc_url: https://socialtap.dev/docs/errors/#forbidden
details: {}
charged: false
schemas:
ErrorDetail:
properties:
charged:
description: 'Whether the request was charged: always false, failed requests are free.'
type: boolean
code:
description: Machine-readable error code (see the error codes list); stable.
enum:
- invalid_input
- invalid_cursor
- unauthorized
- forbidden
- insufficient_credits
- spend_limit_reached
- rate_limited
- request_too_large
- method_not_allowed
- endpoint_retired
- idempotency_key_reused
- idempotency_key_in_progress
- job_not_found
- unknown_endpoint
- not_found
- private_or_unavailable
- no_transcript
- no_live
- no_media
- no_readme
- unavailable_for_legal_reasons
- upstream_blocked
- upstream_error
- overloaded
- internal
type: string
details:
description: The code's dynamic values (the error codes list documents each code's keys); {} when none.
type: object
doc_url:
description: URL of this code's documentation.
type: string
message:
description: What went wrong and how to fix it, for humans and agents; wording may change.
type: string
param:
description: The query parameter or header the error is about; null when it is not about one input.
type:
- string
- 'null'
remediation:
description: What to do about this code, one sentence.
type: string
request_id:
description: Unique request ID; include it when contacting support.
type: string
retryable:
description: True when repeating the same request later may succeed (after details.retry_after when present).
type: boolean
status:
description: The HTTP status of the response, repeated for clients that only see the body.
format: int64
type: integer
required:
- code
- message
- request_id
- status
- retryable
- param
- remediation
- doc_url
- details
- charged
type: object
ErrorBody:
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
required:
- error
type: object
headers:
x-credits-charged:
description: Credits charged for this request (0 for errors and cache hits).
schema:
type: integer
retry-after:
description: Seconds to wait before retrying; sent only with the codes whose retry_after is set in the error codes list (never on credit errors).
schema:
type: integer
x-request-id:
description: Unique request ID; include it when contacting support.
schema:
type: string
x-client-request-id:
description: Your x-client-request-id, echoed (also meta.client_request_id).
schema:
type: string
x-credits-remaining:
description: Account balance after this request; for a busy account an estimate that may not yet subtract concurrent requests (about a second of usage), never below the real balance.
schema:
type: integer
securitySchemes:
apiKey:
in: header
name: x-api-key
type: apiKey
session:
description: 'The dashboard session (https://socialtap.dev/dashboard/): a person signed in, acting on one of their accounts (x-account-id; default: their own) with their role in it. Browsers send it; API clients use the API key.'
in: cookie
name: __Host-st_session
type: apiKey