Skip to content

Build the reload request

POST
/tmpt
curl --request POST \
--url https://tmpt.antibotapi.com/tmpt \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "page_url": "https://www.ticketmaster.com/", "action": "pageView", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36", "cookies": [ "LANGUAGE=en-us", "NDMA=200" ], "anchor_html": "<!DOCTYPE HTML><html dir=\"ltr\" lang=\"en\">..." }'

Send the anchor page you fetched, the page it is on and the action the token is for. Returns the reload request body to post to https://www.google.com/recaptcha/enterprise/reload?k=6LcvL3UrAAAAAO_9u8Seiuf-I6F_tP_jSS-zndXV.

Call it as soon as the anchor page arrives; there is no need to wait. Each 200 is billed; nothing else is.

We load page_url ourselves. The first request for a page we have not seen answers 503 while we load it: ask again after a few seconds.

x-signature
string

A request signature. Required only when signing is on for your key. See Authentication.

Media typeapplication/json
object
page_url
required

The page your session is on, the one the anchor belongs to: the full URL as the address bar shows it, such as https://www.ticketmaster.com/. We load the page ourselves. The first request for a page answers 503 until it has loaded.

string format: uri
action
required

What the token is for: pageView on a normal page, Event on the gate page that answers 401. Send the token to the matching endpoint, /epsf/gec/v3/pageView or /epsf/gec/v3/Event.

string
Allowed values: pageView Event
user_agent
required

The User-Agent your session sends. Chrome 145–155 on Windows. Use the same one for every request in the session.

string
cookies
required

The cookies your session holds for the Ticketmaster site, such as www.ticketmaster.com, that a page script could read (not HttpOnly), one name=value string each. Leave out tmpt. Send an empty array if there are none.

Array<string>
anchor_html
required

The anchor page HTML

string

Example

{
"page_url": "https://www.ticketmaster.com/",
"action": "pageView",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"cookies": [
"LANGUAGE=en-us",
"NDMA=200"
],
"anchor_html": "<!DOCTYPE HTML><html dir=\"ltr\" lang=\"en\">..."
}

The reload request body.

Media typeapplication/json
object
success
required
boolean
reload
required

The reload request body, Base64. Decode it and post the raw bytes.

string

Example

{
"success": true,
"reload": "ChhOaGZkWkh6cmUxNndyYzJtNkJ4RWR1N0..."
}

Something in the request is wrong, the message says what the issue is. It could be a field missing or of the wrong type, an action that is neither pageView nor Event, a user agent that is not Chrome 145–155 on Windows, an anchor page that is not one, or an anchor page that has expired (it lasts an hour).

Media typeapplication/json
object
success
required
boolean
error
required
object
type
required

validation, not_approved, unmodelled, unavailable or internal.

string
message
required

What went wrong.

string

Example

{
"success": false,
"error": {
"type": "validation",
"message": "The anchor expired 5230 ms ago"
}
}

The API key is missing, unknown, revoked or out of balance, or its signature is wrong.

Media typeapplication/json
object
success
required
boolean
error
required
object
type
required

validation, not_approved, unmodelled, unavailable or internal.

string
message
required

What went wrong.

string

Example

{
"success": false,
"error": {
"type": "validation",
"message": "x-api-key is required"
}
}

The anchor page is from a reCAPTCHA release we do not support yet. Fetch the anchor with the version from GET /config.

Media typeapplication/json
object
success
required
boolean
error
required
object
type
required

validation, not_approved, unmodelled, unavailable or internal.

string
message
required

What went wrong.

string

Example

{
"success": false,
"error": {
"type": "not_approved",
"message": "Build NhfdZHzre166o-vFZrWsq3yu is not supported yet"
}
}

This anchor page is unrecognised. Please contact us for support.

Media typeapplication/json
object
success
required
boolean
error
required
object
type
required

validation, not_approved, unmodelled, unavailable or internal.

string
message
required

What went wrong.

string

Example

{
"success": false
}

We do not have the page at page_url yet, or the service is temporarily unavailable. The first request for a page starts its load: ask again after a few seconds.

Media typeapplication/json
object
success
required
boolean
error
required
object
type
required

validation, not_approved, unmodelled, unavailable or internal.

string
message
required

What went wrong.

string

Example

{
"success": false,
"error": {
"type": "unavailable",
"message": "No host page for https://www.ticketmaster.com/your-event/event/0123456789ABCDEF yet: its load is queued"
}
}