API Pool Docs
Use the dashboard login for operations. API calls require the matching Bearer token.
Public entrypoints
GET /
Unified status and management dashboard.
GET /docs
This documentation page.
YouTube Pool API
Prefix: /yt. Pass Authorization: Bearer <youtube_pool_token> for protected endpoints.
GET /yt/health
Check key pool availability and quota date.
GET /yt/admin/usage
Read quota usage, exhausted keys, request counts, and errors.
POST /yt/admin/keys/{key_id}/enable
Enable a key.
POST /yt/admin/keys/{key_id}/disable
Disable a key.
GET /yt/youtube/v3/search?part=snippet&type=channel&q=crypto&maxResults=10
Proxy a YouTube Data API request through the key pool. Do not include a Google API key in the query.
X Pool API
Protected calls require Authorization: Bearer <x_pool_token>. The X worker service remains local to the server.
GET /x-health
Check the X gateway health.
GET /x-admin/usage
Read account runtime state and error/cooldown counts.
GET /x/profile/{handle}?include_tweets=true&include_based_in=true&tweet_count=5
Fetch profile data and optional latest tweets/account based in.
GET /x/export/{handle}?tweet_count=5&following_max=0
Run the full export path exposed by the self-built X account pool.
GET /x/following/{handle}?following_max=0
Export following. Use carefully because it is heavier than profile/tweets.
GET /x/account-based-in/{handle}
Read Account based in from the verified AboutAccountQuery path, not public Location or bio text.
POST /x/search
Body: {"query":"crypto lang:en","max_pages":1}.