Skip to content

Ticketmaster tmpt

Ticketmaster runs a reCAPTCHA Enterprise check when a page loads and sets the tmpt cookie when it passes. Sign-in and other protected actions expect a session that has tmpt.

We build the reCAPTCHA reload request. You make every request to Ticketmaster and Google yourself, from one session.

Some pages, such as event pages, answer a new session with 401 and a gate page that runs the same check before it shows the page. The steps below are for a normal page view. The gate page lists what changes there.

Base URL: https://tmpt.antibotapi.com

  • User agent: Chrome 145–155 on Windows, the same string on every request.
  • One session: the same proxy, cookie jar and Accept-Language from the homepage to tmpt.
  • A Chrome-like client: see Match a real browser.
  1. Get the reCAPTCHA version from us (GET /config).
  2. Open the page on Ticketmaster.
  3. Fetch the reCAPTCHA anchor page from Google.
  4. Get the reload request from us (POST /tmpt) as soon as the anchor arrives.
  5. Post the reload request to Google and read the token.
  6. Send the token to Ticketmaster and store tmpt.
Terminal window
curl https://tmpt.antibotapi.com/config -H "x-api-key: YOUR_API_KEY"

The response:

{ "success": true, "version": "NhfdZHzre16wrc2m6BxEdu7J" }

version is the reCAPTCHA release to fetch the anchor with. It changes when Google ships a release, so read it for each session. This call is free.

This guide uses the homepage. For another page, use its URL in place of the homepage’s here and in steps 4 and 6.

  1. GET https://www.ticketmaster.com/ as a page navigation.
  2. GET https://www.ticketmaster.com/eps-mgr as the page’s script request, with referer set to the page.
  3. Keep every cookie both responses set. You need SID, BID and eps_sid in step 6.
  4. If the page answers 403, Ticketmaster has blocked your proxy. Switch proxy and start again.
  5. If the page answers 401, it is the gate page. Follow The gate page.

GET https://www.google.com/recaptcha/enterprise/anchor as the page’s reCAPTCHA iframe would, with these query parameters in this order:

Parameter Value
ar 1
k 6LcvL3UrAAAAAO_9u8Seiuf-I6F_tP_jSS-zndXV, Ticketmaster’s site key
co aHR0cHM6Ly93d3cudGlja2V0bWFzdGVyLmNvbTo0NDM., the page’s origin https://www.ticketmaster.com:443 in Base64, with . for the = padding
hl en
v The version from step 1
size invisible
anchor-ms 20000
execute-ms 30000
ovv CADq00gF
cb A fresh random string for each fetch (see below)

Put together, with VERSION and CB filled in:

https://www.google.com/recaptcha/enterprise/anchor?ar=1&k=6LcvL3UrAAAAAO_9u8Seiuf-I6F_tP_jSS-zndXV&co=aHR0cHM6Ly93d3cudGlja2V0bWFzdGVyLmNvbTo0NDM.&hl=en&v=VERSION&size=invisible&anchor-ms=20000&execute-ms=30000&ovv=CADq00gF&cb=CB

cb is two random numbers written in base 36, the second mixed with the current time:

function makeCb() {
return Math.floor(Math.random() * 2147483648).toString(36)
+ Math.abs(Math.floor(Math.random() * 2147483648) ^ Date.now()).toString(36);
}
GET /recaptcha/enterprise/anchor?ar=1&k=6LcvL3UrAAAAAO_9u8Seiuf-I6F_tP_jSS-zndXV&co=...&v=VERSION&...&cb=CB HTTP/2
host: www.google.com
sec-ch-ua: "Google Chrome";v="155", "Chromium";v="155", "Not(A:Brand";v="24"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
upgrade-insecure-requests: 1
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
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/jxl,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
x-browser-channel: stable
x-browser-year: 2026
x-browser-validation: <from your Chrome version>
x-browser-copyright: Copyright 2026 Google LLC. All Rights Reserved.
sec-fetch-site: cross-site
sec-fetch-mode: navigate
sec-fetch-dest: iframe
sec-fetch-storage-access: none
referer: https://www.ticketmaster.com/
accept-encoding: gzip, deflate, br, zstd
accept-language: en-GB,en-US;q=0.9,en;q=0.8
priority: u=0, i

Chrome adds the x-browser-* headers to requests to Google. Copy them from a capture of the same Chrome version.

Call us as soon as the anchor arrives. There is no need to wait: we time the reload from the anchor page itself.

Terminal window
curl -X POST https://tmpt.antibotapi.com/tmpt \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"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": "<the anchor page from step 3>"
}'
Field What to send
page_url The page you opened in step 2, as the address bar shows it.
action pageView for a normal page, Event for the gate page. It names the endpoint the token goes to in step 6.
user_agent Your session’s User-Agent.
cookies Your www.ticketmaster.com cookies that are not HttpOnly, as name=value strings. Leave out tmpt. An empty array is fine.
anchor_html The anchor page exactly as Google sent it.

We load page_url ourselves. The first request for a page we have not seen answers 503 while we load it: ask again every few seconds until it answers 200. We keep a page for 6 hours after the last request for it. https://www.ticketmaster.com/ is always loaded.

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

reload is the request body as Base64. Each 200 is billed.

POST the decoded bytes:

POST /recaptcha/enterprise/reload?k=6LcvL3UrAAAAAO_9u8Seiuf-I6F_tP_jSS-zndXV HTTP/2
host: www.google.com
content-length: <length>
sec-ch-ua-platform: "Windows"
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
sec-ch-ua: "Google Chrome";v="155", "Chromium";v="155", "Not(A:Brand";v="24"
content-type: application/x-protobuffer
sec-ch-ua-mobile: ?0
accept: */*
origin: https://www.google.com
x-browser-channel: stable
x-browser-year: 2026
x-browser-validation: <from your Chrome version>
x-browser-copyright: Copyright 2026 Google LLC. All Rights Reserved.
sec-fetch-site: same-origin
sec-fetch-mode: cors
sec-fetch-dest: empty
referer: <the anchor URL from step 3>
accept-encoding: gzip, deflate, br, zstd
accept-language: en-GB,en-US;q=0.9,en;q=0.8
priority: u=1, i

Google answers with a JSON array after a )]}' line. The token is the second element:

)]}'
["rresp","03AFcWeA5...",null,null,null,...]
// The token from Google's /reload response.
function parseToken(text) {
if (!text.startsWith(")]}'")) throw new Error('not a reload response');
const [kind, token] = JSON.parse(text.slice(text.indexOf('\n') + 1));
if (kind !== 'rresp' || typeof token !== 'string') throw new Error('no token');
return token;
}

Post it to the endpoint you named in action, here /epsf/gec/v3/pageView:

POST /epsf/gec/v3/pageView HTTP/2
host: www.ticketmaster.com
content-length: <length>
sec-ch-ua-platform: "Windows"
sec-ch-ua: "Google Chrome";v="155", "Chromium";v="155", "Not(A:Brand";v="24"
sec-ch-ua-mobile: ?0
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
content-type: application/json
accept: */*
origin: https://www.ticketmaster.com
sec-fetch-site: same-origin
sec-fetch-mode: cors
sec-fetch-dest: empty
referer: https://www.ticketmaster.com/
accept-encoding: gzip, deflate, br, zstd
accept-language: en-GB,en-US;q=0.9,en;q=0.8
cookie: SID=...; BID=...; eps_sid=...; ...
priority: u=1, i
{"hostname":"www.ticketmaster.com","key":"6LcvL3UrAAAAAO_9u8Seiuf-I6F_tP_jSS-zndXV","token":"03AFcWeA5..."}

The response sets tmpt. Store it with the session’s other cookies and carry on.

These use each language’s standard HTTP client to keep them short. Send steps 5 and 6 through your Chrome-like client (see Match a real browser), with the headers shown above, in the same session as steps 2 and 3. They use parseToken from step 5.

const SITE_KEY = '6LcvL3UrAAAAAO_9u8Seiuf-I6F_tP_jSS-zndXV';
// pageUrl is the page from step 2; anchorUrl and anchorHtml come from step 3. cookies are your
// non-HttpOnly www.ticketmaster.com cookies as name=value strings; cookieHeader is the whole cookie
// header for www.ticketmaster.com (SID, BID, eps_sid and the rest). Returns the tmpt Set-Cookie line.
async function getTmpt({ apiKey, userAgent, pageUrl, anchorUrl, anchorHtml, cookies, cookieHeader }) {
// 4. Get the reload request as soon as the anchor arrives.
const made = await fetch('https://tmpt.antibotapi.com/tmpt', {
method: 'POST',
headers: { 'x-api-key': apiKey, 'Content-Type': 'application/json' },
body: JSON.stringify({ page_url: pageUrl, action: 'pageView', user_agent: userAgent, cookies, anchor_html: anchorHtml }),
});
if (!made.ok) throw new Error(`tmpt: ${made.status} ${await made.text()}`);
const reload = Buffer.from((await made.json()).reload, 'base64'); // binary protobuf
// 5. Post the bytes to Google and read the token.
const google = await fetch(`https://www.google.com/recaptcha/enterprise/reload?k=${SITE_KEY}`, {
method: 'POST',
headers: { 'user-agent': userAgent, 'content-type': 'application/x-protobuffer', referer: anchorUrl },
body: reload,
});
const token = parseToken(await google.text());
// 6. Hand the token to Ticketmaster. The response sets tmpt.
const view = await fetch('https://www.ticketmaster.com/epsf/gec/v3/pageView', {
method: 'POST',
headers: { 'user-agent': userAgent, 'content-type': 'application/json', referer: pageUrl, cookie: cookieHeader },
body: JSON.stringify({ hostname: 'www.ticketmaster.com', key: SITE_KEY, token }),
});
const tmpt = view.headers.getSetCookie().find((cookie) => cookie.startsWith('tmpt='));
if (!tmpt) throw new Error(`pageView ${view.status}: no tmpt`);
return tmpt;
}

Some pages, such as event pages, answer a new session with 401 and a gate page. The gate runs the same reCAPTCHA check, posts the token to /epsf/gec/v3/Event, and loads the page again once tmpt is set. Follow the steps above with these changes:

Step Change
2 The page answers 401 and sets no cookies. Fetch /eps-mgr with referer set to the page. It sets eps_sid, the only cookie the gate has.
4 Send "action": "Event", the page as page_url and an empty cookies array. Call us about 700 ms after you request the anchor: the gate posts its reload 0.6 to 0.9 seconds after it asks for the anchor.
6 Post the token to /epsf/gec/v3/Event, with referer set to the page and eps_sid as the only cookie. The body is the same, and the response sets tmpt.

Then load the page again, with eps_sid and tmpt:

GET <the page's path> HTTP/2
host: www.ticketmaster.com
cache-control: max-age=0
sec-ch-ua: "Google Chrome";v="155", "Chromium";v="155", "Not(A:Brand";v="24"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
upgrade-insecure-requests: 1
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
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/jxl,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
sec-fetch-site: same-origin
sec-fetch-mode: navigate
sec-fetch-dest: document
referer: <the page>
accept-encoding: gzip, deflate, br, zstd
accept-language: en-GB,en-US;q=0.9,en;q=0.8
cookie: eps_sid=...; tmpt=...
priority: u=0, i

It answers 200 with the page itself. If it answers 403, Ticketmaster has refused the session. Switch proxy and start again.

The same flow works on other Ticketmaster sites, such as www.ticketmaster.nl, www.eticketing.co.uk and web-identity.tmtickets.co.uk. They use the same site key. Swap www.ticketmaster.com for the site’s host in these steps:

Step Change
2 Open a page on the site, then its /eps-mgr.
3 Set co to the site’s origin in Base64, for example https://www.eticketing.co.uk:443 is aHR0cHM6Ly93d3cuZXRpY2tldGluZy5jby51azo0NDM.. Set referer to the site’s origin with a trailing /.
4 Send the page you opened on the site as page_url, and the site’s cookies that are not HttpOnly.
6 Post to the site’s own /epsf/gec/v3/pageView, with hostname, origin and referer from the site.
Status Cause What to do
400 A field is missing or wrong, the user agent is not Chrome 145–155 on Windows, or the anchor page has expired (it lasts an hour). The message says which. Fix it, or fetch a fresh anchor page.
401 The API key is missing, wrong or out of balance. Check the key.
409 The anchor is from a reCAPTCHA version we do not support yet. Fetch the anchor with the version from GET /config.
501 This anchor asks for something we cannot build yet. Not billed. Tell us.
503 We are still loading your page_url, or the service is temporarily unavailable. Retry after a few seconds.

If Google returns no rresp token, or Ticketmaster does not set tmpt, check that your session used one proxy and one user agent throughout, and that your client matches Chrome.