THREADS API

Post

Retrieve post from Threads with a single API request.

GET/api/data/v1/threads/post
1credit base costZero-credit cache supported

Request parameters

Up to 1 credit

The URL of the post to get

Set to true for a trimmed down version of the response

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.]

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/threads/post?url=https%3A%2F%2Fwww.threads.com%2F%40trendspider%2Fpost%2FDIU8naHS6q_' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "post": {
    "id": "3656367813102434565_63055343223",
    "pk": "3656367813102434565",
    "caption": {
      "text": "Spoiler alert: We're testing a way for you to hide spoilers in your Threads posts.",
      "pk": "17978979272714446",
      "has_translation": null
    },
    "code": "DK-BydcJHkF",
    "like_count": 96439,
    "taken_at": 1750093031,
    "user": {
      "pk": "63055343223",
      "friendship_status": null,
      "profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.2885-19/452737457_1313286386312102_744138929735022550_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QEI0Na315cY5sOYUkhVVibfgPAW-ui7qHsdVtzXBXEOhzW7Bng-EMYZTcNDR7NhzDw&_nc_ohc=4jx-dLM0V7UQ7kNvwF5pEvj&_nc_gid=08CADhHYLnZPoVapLCtXQw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfMJZBcCbhMdKKqnrXmtnhF3bwCCjEU85Z3Ih0GWNi5t6A&oe=685A71CE&_nc_sid=10d13b",
      "username": "zuck",
      "id": "63055343223",
      "full_name": "Mark Zuckerberg",
      "transparency_label": null,
      "transparency_product": null,
      "transparency_product_enabled": false,
      "is_verified": true,
      "text_post_app_is_private": false,
      "has_onboarded_to_text_post_app": true
    }
  },
  "comments": [
    {
      "id": "3658534918151603488_74973899807",
      "pk": "3658534918151603488",
      "caption": {
        "text": "意味分からない",
        "pk": "18306832783208063",
        "has_translation": true
      },
      "code": "DLFuh_SygUg",
      "like_count": 0,
      "taken_at": 1750351370,
      "user": {
        "pk": "74973899807",
        "friendship_status": null,
        "profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.2885-19/491446152_17850244230449803_8764028655689505242_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=107&_nc_oc=Q6cZ2QEI0Na315cY5sOYUkhVVibfgPAW-ui7qHsdVtzXBXEOhzW7Bng-EMYZTcNDR7NhzDw&_nc_ohc=04OF9jMRuJoQ7kNvwF4M8X7&_nc_gid=08CADhHYLnZPoVapLCtXQw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfOd6QqjNHAV2HNKm-I63jqf58-6kNsVTzATgKyd-iN3zw&oe=685A9A82&_nc_sid=10d13b",
        "username": "emimimi_0917",
        "id": "74973899807",
        "full_name": "青木恵美",
        "transparency_label": null,
        "transparency_product": null,
        "transparency_product_enabled": false,
        "is_verified": true,
        "text_post_app_is_private": false,
        "has_onboarded_to_text_post_app": true
      }
    }
  ],
  "threadItems": [],
  "relatedPosts": [
    {
      "id": "3658572865166656590_63453315755",
      "pk": "3658572865166656590",
      "caption": {
        "text": "Initial findings of investigation into overnight ground explosion of SpaceX Starship rocket in Texas point to failure of a Composite Overwrapped Pressure Vessel (COPV), a lightweight storage tank containing nitrogen under high pressure. 🖥️ X/Elon Musk",
        "pk": "18345028147091883",
        "has_translation": null
      },
      "code": "DLF3KMNJERO",
      "like_count": 15,
      "taken_at": 1750355893,
      "user": {
        "pk": "63453315755",
        "friendship_status": null,
        "profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.2885-19/402757276_161160320414682_3222955945465557227_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2QGJAk0S-TOHB3ZWl6ci1q6t2XxgndYS-k6upqywpT-gXu8dlcxmH69UxCueQ9PIqQw&_nc_ohc=J3L5lDaaNDIQ7kNvwGO73Uq&_nc_gid=08CADhHYLnZPoVapLCtXQw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfMkWFXtSlvnwHnBZKBb9eFnleArkHhYt6m32PRKXpKNPA&oe=685AA3CD&_nc_sid=10d13b",
        "username": "jonathanserrie",
        "id": "63453315755",
        "full_name": "Jonathan Serrie",
        "transparency_label": null,
        "transparency_product": null,
        "transparency_product_enabled": false,
        "is_verified": true,
        "text_post_app_is_private": false,
        "has_onboarded_to_text_post_app": true
      }
    }
  ],
  "credits_charged": 1,
  "credits_remaining": 1000,
  "request_id": "00000000-0000-4000-8000-000000000000"
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "post": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "pk": {
          "type": "string"
        },
        "caption": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string"
            },
            "pk": {
              "type": "string"
            },
            "has_translation": {
              "type": [
                "string",
                "object",
                "array",
                "number",
                "boolean",
                "null"
              ]
            }
          }
        },
        "code": {
          "type": "string"
        },
        "like_count": {
          "type": "integer"
        },
        "taken_at": {
          "type": "integer"
        },
        "user": {
          "type": "object",
          "properties": {
            "pk": {
              "type": "string"
            },
            "friendship_status": {
              "type": [
                "string",
                "object",
                "array",
                "number",
                "boolean",
                "null"
              ]
            },
            "profile_pic_url": {
              "type": "string"
            },
            "username": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "transparency_label": {
              "type": [
                "string",
                "object",
                "array",
                "number",
                "boolean",
                "null"
              ]
            },
            "transparency_product": {
              "type": [
                "string",
                "object",
                "array",
                "number",
                "boolean",
                "null"
              ]
            },
            "transparency_product_enabled": {
              "type": "boolean"
            },
            "is_verified": {
              "type": "boolean"
            },
            "text_post_app_is_private": {
              "type": "boolean"
            },
            "has_onboarded_to_text_post_app": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "pk": {
            "type": "string"
          },
          "caption": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string"
              },
              "pk": {
                "type": "string"
              },
              "has_translation": {
                "type": "boolean"
              }
            }
          },
          "code": {
            "type": "string"
          },
          "like_count": {
            "type": "integer"
          },
          "taken_at": {
            "type": "integer"
          },
          "user": {
            "type": "object",
            "properties": {
              "pk": {
                "type": "string"
              },
              "friendship_status": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "profile_pic_url": {
                "type": "string"
              },
              "username": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "full_name": {
                "type": "string"
              },
              "transparency_label": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "transparency_product": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "transparency_product_enabled": {
                "type": "boolean"
              },
              "is_verified": {
                "type": "boolean"
              },
              "text_post_app_is_private": {
                "type": "boolean"
              },
              "has_onboarded_to_text_post_app": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "threadItems": {
      "type": "array"
    },
    "relatedPosts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "pk": {
            "type": "string"
          },
          "caption": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string"
              },
              "pk": {
                "type": "string"
              },
              "has_translation": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              }
            }
          },
          "code": {
            "type": "string"
          },
          "like_count": {
            "type": "integer"
          },
          "taken_at": {
            "type": "integer"
          },
          "user": {
            "type": "object",
            "properties": {
              "pk": {
                "type": "string"
              },
              "friendship_status": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "profile_pic_url": {
                "type": "string"
              },
              "username": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "full_name": {
                "type": "string"
              },
              "transparency_label": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "transparency_product": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "transparency_product_enabled": {
                "type": "boolean"
              },
              "is_verified": {
                "type": "boolean"
              },
              "text_post_app_is_private": {
                "type": "boolean"
              },
              "has_onboarded_to_text_post_app": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "credits_charged": {
      "type": "integer",
      "minimum": 0,
      "description": "FetchGoblin credits charged for this request."
    },
    "credits_remaining": {
      "type": "integer",
      "description": "Your FetchGoblin credit balance after this request."
    },
    "request_id": {
      "type": "string",
      "format": "uuid",
      "description": "FetchGoblin request identifier."
    }
  }
}