Every GET endpoint page has an n8n tab. It is an HTTP Request node (n8n-nodes-base.httpRequest), not the community node. Paste it into a workflow. The header x-api-key reads SOCIALSCRAPE_API_KEY from the n8n environment.
The block below is that snippet for TikTok profile. It is a sample: the query value is the example recorded for that page. Replace the handle before you run it, and set the environment variable to your key. Do not put the key in the workflow JSON.
GET /v1/tiktok/profile costs 1 credit on success. The community node is the other path: install it.
n8nSample
{
"nodes": [
{
"name": "SocialScrape TikTok profile",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/tiktok/profile",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "handle",
"value": "khaby.lame"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}