Integrations › n8n
Zapi for n8n
Call any source from an n8n workflow with the HTTP Request node. Import one cURL command and map the JSON.
- 01Add an HTTP Request node
Add an HTTP Request node, choose Import cURL and paste this. n8n fills in the method, the URL, the query and the header.
curl "https://api.zapi.ink/v1/social-media:tiktok-scraper/profile?username=tiktok" \ -H "x-api-key: zpi_..."
- 02Keep the key in a credential
So the key is not saved in the node: set Authentication to a Header Auth credential, then delete the pasted header.
# HTTP Request node → Authentication Generic Credential Type → Header Auth Name: x-api-key Value: zpi_...
- 03Map the data
The node outputs the JSON body. In any later node, read a field from data with an expression.
{{ $json.data.followerCount }}
The response
200 OK{
"project": "social-media:tiktok-scraper:profile",
"data": {
"username": "tiktok",
"nickname": "TikTok",
"verified": true,
"followerCount": 92400000,
"videoCount": 1310
},
"timestamp": "2026-12-01T07:00:00.000Z"
}Questions
Does it work on n8n Cloud and self-hosted n8n?
Yes. The HTTP Request node is built into both, and Zapi is a plain HTTPS API.
Can the workflow run on a schedule?
Yes. Start it with a Schedule Trigger node. Each run uses Zap like any API call.
What if I hit the rate limit?
The node gets a 429. Turn on Retry On Fail in the node’s settings and leave a few seconds between tries.
Your first call in a minute.
Free key, every source, and the same JSON shape from anywhere.