Endpoints & Regions
Regional deploy hosts, POST /submit, JWT auth, and responses.
Use the regional base URLs below. All integration traffic is POST {base}/submit (create or sell) or GET {base}/ping.
Regional base URLs
Each region is an HTTPS origin whose path ends with /deploy. Requests use POST {base}/submit and GET {base}/ping (latency / health).
| Region | ID | Base URL |
|---|---|---|
| Europe | europe | https://eu.j7tracker.io/deploy |
| NA East | na-east | https://nyc.j7tracker.io/deploy |
| NA West | na-west | https://lax.j7tracker.io/deploy |
| Asia | asia | https://sgp.j7tracker.io/deploy |
| Australia | australia | https://aus.j7tracker.io/deploy |
Sniper / sniper_wallets: send those requests to the NA-East base (https://nyc.j7tracker.io/deploy) even if you use another region for other calls.
POST /submit
- Body: JSON. Browsers often use
Content-Type: text/plain;charset=UTF-8with a JSON string to skip an extra CORS preflight; non-browser clients may useapplication/json. - Auth (required): either
Authorization: Bearer <jwt>, or- the same JWT in the JSON field
session_id.
type: onlycreate_tokenorsell_tokenare accepted on this route.username: taken from the JWT; anyusernamein the body is overwritten to match the token.- Timeout: up to 30 seconds for a final response, then 504 with optional
last_statusif partialstatusmessages were received.
GET /ping
Returns plain text ok. No JWT or body — safe for simple GET from browsers (CORS is enabled on regional deploy hosts).
Keep-alive best practice (lower latency on /submit)
For integrations that care about time-to-first-byte on deploy (extensions, bots, custom clients), treat GET {base}/ping as a warm-path signal to the same regional base you use for POST {base}/submit:
- Ping the region you deploy to — not only NA-East unless that is your chosen base (except sniper traffic, which must use NA-East per the table above).
- Call
/pingsoon after startup, then on a steady interval while the integration is active (e.g. every 15–30 seconds). The J7Tracker app refreshes the selected region on about a 20s interval for the same reason. - Why it helps: repeated HTTPS requests reuse TCP and TLS session state where the stack allows it, so the next
/submitis less likely to pay a full cold handshake./pingis tiny, so cost is low. - Measure RTT — use round-trip time to
/pingto pick or validate the best region (see the regional table).
If the client goes idle for a long time, one /ping before an important /submit is still better than nothing.
Security
- Use HTTPS in production.
- Never log or expose
api_keyor JWTs. api_keymust be the encrypted key from J7Tracker (see How to get an API key), never a raw private key.