Build the reload request
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://tmpt.antibotapi.com/tmpt"), Headers = { { "x-api-key", "<x-api-key>" }, }, Content = new StringContent("{ \"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\\\">...\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "strings" "net/http" "io")
func main() {
url := "https://tmpt.antibotapi.com/tmpt"
payload := strings.NewReader("{ \"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\\\">...\" }")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>") req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}const url = 'https://tmpt.antibotapi.com/tmpt';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, body: '{"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\">..."}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”A request signature. Required only when signing is on for your key. See Authentication.
Request Bodyrequired
Section titled “Request Bodyrequired”object
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.
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.
The User-Agent your session sends. Chrome 145–155 on Windows. Use the same one for every request in the
session.
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.
The anchor page HTML
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\">..."}Responses
Section titled “Responses”The reload request body.
object
The reload request body, Base64. Decode it and post the raw bytes.
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).
object
object
validation, not_approved, unmodelled, unavailable or internal.
What went wrong.
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.
object
object
validation, not_approved, unmodelled, unavailable or internal.
What went wrong.
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.
object
object
validation, not_approved, unmodelled, unavailable or internal.
What went wrong.
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.
object
object
validation, not_approved, unmodelled, unavailable or internal.
What went wrong.
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.
object
object
validation, not_approved, unmodelled, unavailable or internal.
What went wrong.
Example
{ "success": false, "error": { "type": "unavailable", "message": "No host page for https://www.ticketmaster.com/your-event/event/0123456789ABCDEF yet: its load is queued" }}