Skip to main content
POST /v1/fetch loads a URL, attempts challenge recovery, and returns rendered text. Use an asynchronous request for protected pages, which can exceed the synchronous 55-second response limit. Start with a running session. Set TILION_API_KEY, TILION_SESSION_ID, and TARGET_URL in your environment.

Fetch and poll

For curl, repeat the GET request while status is pending. A completed job has status: "done" and the fetch response in result. Check result.content_ok before using its text.
Disconnect the main CDP client and any native Playwright or VNC client before fetching. CDP observers can remain connected; coordinate their commands with the fetch. A session supports one running job at a time.
premium_required identifies a restriction preventing premium recovery. recovery describes the attempts made. See Fetch & jobs for all outcomes and job cancellation. Close the session when processing is complete. On a custom-proxy session, recovery keeps your proxy and never switches to a Tilion exit.