{
  "name": "SocialCrawl: Look up a list of handles in one call",
  "nodes": [
    {
      "id": "node-1",
      "position": [
        260,
        0
      ],
      "name": "Run recipe",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "parameters": {}
    },
    {
      "id": "node-2",
      "position": [
        520,
        0
      ],
      "name": "profiles",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "parameters": {
        "method": "POST",
        "url": "https://www.socialcrawl.dev/v1/prism/profiles",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "json",
        "jsonBody": "{\n  \"items\": [\n    {\n      \"platform\": \"tiktok\",\n      \"handle\": \"@scout2015\"\n    },\n    {\n      \"platform\": \"instagram\",\n      \"handle\": \"nasa\"\n    }\n  ]\n}",
        "options": {
          "timeout": 300000
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "SocialCrawl API key"
        }
      },
      "executeOnce": true
    },
    {
      "id": "note",
      "name": "How this recipe works",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -460
      ],
      "parameters": {
        "content": "## Look up a list of handles in one call\n\nPrice for fifty handles: about 50 credits held up front (settles 1-50; the unused hold is refunded); a batch is priced at a cycled example body, so quote your real list first.\n\nMeasured on 25/10/2026: 2 credits in 1 call for ITEMS=25 (the quote held 25). The TypeScript and Python programs both ran.\n\nFRESH=1 skips the cache and bills every call; a cache hit is free.\n\nInputs, set to a working example (change them to yours):\n\n  items: JSON array of up to 50 {platform, handle, custom_id?}\n\n**Key:** create a Header Auth credential named SocialCrawl API key, with Name x-api-key and your API key as Value, and pick it on every request node.\n\n**Rows:** a step that runs once per row takes the first 50 rows (change the number in its rows node).\n\n**Errors:** a request node stops the workflow on an API error. Read error.type in its output; retry only when error.retryable is true.",
        "width": 520,
        "height": 420
      }
    }
  ],
  "connections": {
    "Run recipe": {
      "main": [
        [
          {
            "node": "profiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {}
}
