POST /api/v1/tasks or billing balance). The interactive layout matches Mintlify’s OpenAPI pages (parameters, responses, and optional Try it when a server URL is configured).
Services
Host and port are deployment-specific. The same bearer token often works across services when your API key or JWT includes the required scopes.
MCP server
AI agents use a separate surface: a Model Context Protocol server athttps://mcp.webscraping.titannet.io/mcp. It speaks JSON-RPC over Streamable HTTP rather than REST, exposes six tools for search, fetch, crawl, and curated template runs, and authenticates with the same Titan API keys using mcp:* scopes.
MCP documentation
Open the MCP tab for the tool reference, client setup, and integration examples.
POST /api/v1/mcp/agentic-executions, the endpoint the MCP server calls on your behalf. Prefer the MCP server unless you are building your own agent runtime.
Authentication
Protected routes use hybrid auth:Authorization: Bearer <jwt>for interactive sessions, orAuthorization: Bearer titan_sk_<secret>orX-API-Key: <key>for API keys (exact header behavior matches your deployment’s auth middleware).
JSON success envelope
Most JSON endpoints return:data payload is documented per operation. Exceptions include binary downloads, redirects, and a few billing success shapes described on the relevant billing operations.
JSON error envelope
Most handler errors return:error.code values include BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, TOO_MANY_REQUESTS, NOT_IMPLEMENTED, and INTERNAL_SERVER_ERROR. Some routes return alternate shapes (for example media CDN errors or legacy billing errors); those operations call that out in their descriptions.
Where to go next
- HTTP errors and exceptions — non-standard bodies, 401 vs 403, and links to rate limits
- Open Task Service API, Analytics API, or Billing API in this tab’s sidebar and pick the operation you need.
- MCP tool reference — the agent-facing tool contracts and their error codes