Skip to content
Scrappa Get API key
Threads API 1 credit/request

Threads Post Embed

GET https://scrappa.co/api/threads/oembed

Validate a Threads post permalink and return the official embed block for it, using the public tokenless oEmbed endpoint. This is a permalink validator and canonical URL resolver, not a high-volume data source: the upstream applies a rate ceiling of about 1000 requests per hour, so keep it off bulk paths. A permalink that is not a valid Threads post returns a 404 and is not billed.

Threads Post Embed 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/threads/oembed
Auth header
x-api-key
Cost
1 credit/request
url = https://www.threads.net/@nasa/post/DXF7y9nl2dj
Response preview
200 OK
{
    "meta": {
        "attempts": 1,
        "duration_ms": 420,
        "endpoint_family": "threads_oembed"
    },
    "embed": {
        "type": "rich",
        "version": "1.0"
    },
    "search_parameters": {
        "url": "https://www.threads.net/@nasa/post/DXF7y9nl2dj",
        "engine": "threads_oembed"
    }
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

url string Required
Open example

Full Threads post permalink.

Example value https://www.threads.net/@nasa/post/DXF7y9nl2dj

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

meta embed search_parameters
JSON Response
200 OK
{
    "meta": {
        "attempts": 1,
        "duration_ms": 420,
        "endpoint_family": "threads_oembed"
    },
    "embed": {
        "type": "rich",
        "version": "1.0"
    },
    "search_parameters": {
        "url": "https://www.threads.net/@nasa/post/DXF7y9nl2dj",
        "engine": "threads_oembed"
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

Not Found

Returned, and not billed, when the handle, post code or hashtag does not exist or is not publicly available.

Validation Error

Returned, and not billed, when a parameter is missing or outside its allowed range.

Service Unavailable

A retryable, non-billable failure. The upstream returned a degraded or unreadable response, or the request budget ran out.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.