Sources › Social media › Tweet Embed › Tweet
Tweet Embed Tweet API
Get embed information for a public tweet.
Request
https://api.zapi.ink/v1/social-media:twitter-syndication/tweet/:tweetIdSend 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 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| tweetId | string | path | Yes | Tweet ID (numeric) atau full twitter.com/x.com URL Example: 1626383461892841472 |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:twitter-syndication/tweet/1626383461892841472" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:twitter-syndication/tweet/1626383461892841472", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:twitter-syndication/tweet/1626383461892841472", headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Frequently asked questions
How do I call the Tweet Embed Tweet API?
Send a GET request to https://api.zapi.ink/v1/social-media:twitter-syndication/tweet/1626383461892841472 with your Zapi key in the x-api-key header. Parameters — required: tweetId. The response is JSON in the { project, data, timestamp } envelope.
What does the Tweet Embed Tweet API return?
Get embed information for a public tweet.
Is the Tweet Embed Tweet 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 5 Zap. Paid plans raise the limits.
Can an AI assistant call the Tweet Embed Tweet 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 "twitter-syndication" and endpoint "tweet".
What other Tweet Embed API endpoints are there?
It has 2 endpoints. Besides Tweet: Get Profile Timeline.