Skip to main content
POST
/
v1
/
tasks
Add Tasks
curl --request POST \
  --url https://api.lobstr.io/v1/tasks \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "squid": "<string>",
  "tasks": [
    {}
  ],
  "tasks[].username": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt

Use this file to discover all available pages before exploring further.

Add URLs or inputs to your Twitter Followers & Following Scraper squid. Each task object must include the required fields below.

Headers

Authorization
string
required
Your API authentication token. Value: Token YOUR_API_KEY
Content-Type
string
required
Must be application/json. Value: application/json

Body

squid
string
required
Hash ID of your squid.
tasks
array
required
Array of task objects. Each task supports the fields below.

Task Fields

tasks[].username
string
required