API Reference
GET /v1/twitter/user/.../following

GET /v1/twitter/user/:username/following

Get the list of accounts a user follows. Returns up to 70 users per page, with pagination support.

Cost: $0.01 per page (~70 users)

70x cheaper than X API. The X API charges $0.01 per user returned. A page of 70 users costs $0.70 on the X API vs $0.01 on frontrun.

curl "https://frontrun.vc/v1/twitter/user/a16z/following?pages=3" \
  -H "X-API-Key: your_api_key"

Parameters

ParameterTypeDefaultDescription
usernamestring (path)--Twitter username (without @)
pagesinteger (query)1Number of pages to fetch (max 10). Each page returns ~70 users. Cost scales linearly.

Response

{
  "username": "a16z",
  "count": 210,
  "pages_fetched": 3,
  "data": [
    {
      "id": "123456789",
      "userName": "some_startup",
      "name": "Some Startup",
      "description": "Building the future of...",
      "profilePicture": "https://pbs.twimg.com/...",
      "followers": 5400,
      "isVerified": false,
      "url": "https://somestartup.com"
    }
  ],
  "cost_cents": 3,
  "balance_cents": 9897
}

Cost comparison

ScenarioX APIfrontrunSavings
1 page (70 users)$0.70$0.0170x
5 pages (350 users)$3.50$0.0570x
Full list (1,000 users)$10.00$0.1567x