Sources › Social media › Threads › Search

Threads Search API

Threads keyword search (top or recent): text, author, likes, replies, reposts, quotes, media. One page (≈20 threads) — Threads only paginates for logged-in users.

ThreadsGET /searchAll plans10 Zap

Request

GET
https://api.zapi.ink/v1/social-media:threads-scraper/search

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 15 minutes.

Parameters

NameTypeInRequiredDescription
querystringqueryYesKeyword to search on Threads Example: jakarta
typeenum: top | recentqueryNotop = most relevant (default), recent = newest first Example: top

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:threads-scraper/search?query=jakarta&type=top" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:threads-scraper/search?query=jakarta&type=top", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:threads-scraper/search",
    params={"query":"jakarta","type":"top"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Frequently asked questions

How do I call the Threads Search API?

Send a GET request to https://api.zapi.ink/v1/social-media:threads-scraper/search?query=jakarta with your Zapi key in the x-api-key header. Parameters — required: query; optional: type. The response is JSON in the { project, data, timestamp } envelope.

What does the Threads Search API return?

Threads keyword search (top or recent): text, author, likes, replies, reposts, quotes, media.

Is the Threads Search API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 10 Zap. Paid plans raise the limits.

Can an AI assistant call the Threads Search API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "threads-scraper" and endpoint "search".

What other Threads API endpoints are there?

It has 4 endpoints. Besides Search: Post Detail, Post Replies, User Posts.