Instagram and TikTok data in n8n
n8n’s HTTP Request node can page through HandleHaul lists on its own: set one header credential, point it at a route, and tell it where the next cursor is.
Short answer. HTTP Request node, Authentication → Generic → Header Auth (name X-Api-Key), Options → Pagination → “Update a parameter in each request”: query cursor = {{ $response.body.pagination.next_cursor }}, complete when {{ !$response.body.pagination.has_more }}. Import the workflow below to start.
Facts checked 2 December 2026. Prices change: follow the links before you decide.
Set it up
- In n8n, create a credential of type Header Auth: name
X-Api-Key, value your key. - Import the workflow (Workflows → Import from file, or paste the JSON onto the canvas), open the HandleHaul followers node and pick your Header Auth credential.
- Change the URL to any HandleHaul route from the tutorials; the pagination settings work for every list route.
The workflow
- Pagination: n8n repeats the request with
cursorset from the previous answer untilhas_moreis false, at most 3 requests (maxRequests), 200 ms apart. Raise the limit only as far as you need: each page is one credit. - Retries: the node setting Retry on fail (3 tries, 2 seconds apart) covers a
429; 429 answers are not charged. - The Split Out node turns each page's
dataarray into one item per row, ready for Google Sheets, Airtable, a database or an AI agent node.
handlehaul-n8n.jsonRun: n8n → Import from file
{
"name": "HandleHaul: Instagram followers, 3 pages",
"nodes": [
{
"parameters": {},
"id": "6b1f8a52-1d1e-4f0e-9a51-2a0c7d1e0001",
"name": "Start",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [0, 0]
},
{
"parameters": {
"url": "https://api.handlehaul.com/v1/instagram/users/natgeo/followers",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {
"pagination": {
"pagination": {
"parameters": {
"parameters": [
{
"name": "cursor",
"value": "={{ $response.body.pagination.next_cursor }}"
}
]
},
"paginationCompleteWhen": "other",
"completeExpression": "={{ !$response.body.pagination.has_more }}",
"limitPagesFetched": true,
"maxRequests": 3,
"requestInterval": 200
}
}
}
},
"id": "6b1f8a52-1d1e-4f0e-9a51-2a0c7d1e0002",
"name": "HandleHaul followers",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [220, 0],
"retryOnFail": true,
"maxTries": 3,
"waitBetweenTries": 2000
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"id": "6b1f8a52-1d1e-4f0e-9a51-2a0c7d1e0003",
"name": "One item per follower",
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [440, 0]
}
],
"connections": {
"Start": { "main": [[{ "node": "HandleHaul followers", "type": "main", "index": 0 }]] },
"HandleHaul followers": { "main": [[{ "node": "One item per follower", "type": "main", "index": 0 }]] }
},
"settings": {}
}
Which route to call
The setup above works with every HandleHaul route; only the URL changes. The ones people use most in automations:
- Instagram profile:
GET /v1/instagram/users/{user}. Profile by username or id. - Instagram followers:
GET /v1/instagram/users/{user}/followers. Followers, newest first. - Instagram comments:
GET /v1/instagram/posts/{post}/comments. Comments on a post. - TikTok profile:
GET /v1/tiktok/users/{user}. TikTok profile: bio, verified and private flags, follower, following, like and video counts. - TikTok video or photo post:
GET /v1/tiktok/posts/{post}. One TikTok video or photo post by id or URL. - TikTok transcript:
GET /v1/tiktok/posts/{post}/transcript. Transcript of a TikTok video from its auto-captions.
All 49 routes, with parameters and sample responses: tutorials and the API docs.
n8n: questions
Does n8n have a HandleHaul node?
How do I loop over many accounts in n8n?
https://api.handlehaul.com/v1/instagram/users/{{ $json.username }}. n8n runs the request once per item.Related
Instagram and TikTok data in Google Sheets
Paste one Apps Script file, add your key as a script property, and a HandleHaul menu fills follower counts for a list of Instagram accounts and views, likes and saves for a list of TikTok videos.
Read more →Instagram and TikTok data in Make
Make’s HTTP “Make a request” module calls any HandleHaul route.
Read more →Instagram and TikTok data in Zapier
Two ways to call HandleHaul from a Zap: the Webhooks by Zapier GET action for a single request, or a Code by Zapier step when you want retries and only the fields you need.
Read more →Connect n8n today
One key for Instagram and TikTok. $1.40 to $0.80 per 1,000 calls; failed calls and cache hits are free.
Want to test first? Sandbox keys are free and unlimited, with sample data in the live schema.