{"openapi":"3.1.0","info":{"title":"ipnet.coffee IP API","version":"1.0.0","description":"Multi-source IP intelligence (location, ASN, residential / datacenter / proxy / VPN / Tor, DNSBL, purity score) plus platform verdicts for Claude, ChatGPT, Grok, Antigravity, TikTok and Meta.\n\nFree tier: no key, 100 requests per minute per IP (30 for /v1/check), non-commercial; headers X-Rl / X-Ttl. /v1/check returns the summary (verdict, reasons, scores, region support) without per-check items; check links are not available. Paid (prepaid, no auto-renewal): $29.9 for 3 months at 50,000 credits/day, $49.9 for 6 months at 80,000 credits/day, $89.9 for 12 months at 100,000 credits/day; 1 credit per request, 5 per completed check link; /v1/check returns every check item with its value, basis and fix suggestion; commercial use allowed.","termsOfService":"https://ipnet.coffee/en/api/terms","contact":{"url":"https://ipnet.coffee/en/api"}},"externalDocs":{"description":"API docs","url":"https://ipnet.coffee/en/api/docs"},"servers":[{"url":"https://ipnet.coffee"}],"security":[{},{"keyQuery":[]},{"bearer":[]}],"tags":[{"name":"IP"},{"name":"Check links"},{"name":"Account"},{"name":"Status"}],"paths":{"/api/v1/ip/{ip}":{"get":{"tags":["IP"],"operationId":"lookupIp","summary":"IP intelligence with optional platform verdicts","parameters":[{"name":"ip","in":"path","required":true,"schema":{"type":"string","example":"8.8.8.8"},"description":"IPv4 / IPv6 address, or `me` for the caller's IP"},{"name":"scenarios","in":"query","required":false,"schema":{"type":"string","example":"claude,tiktok"},"description":"Comma-separated claude, gpt, tiktok, meta, grok, antigravity or all: adds verdict, reasons and disposition per platform"},{"name":"market","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$","example":"US"},"description":"Target market country code (TikTok / Meta compare it with the exit country)"},{"name":"account_country","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$","example":"US"},"description":"Antigravity only: country of the Google account. Checked against Google's supported list and the exit country; without it account eligibility is not checked"},{"name":"timezone","in":"query","required":false,"schema":{"type":"string","example":"America/New_York"},"description":"Client IANA time zone; compared with the IP. With timezone or accept_lang the response adds inferred_region"},{"name":"accept_lang","in":"query","required":false,"schema":{"type":"string","example":"en-US"},"description":"Client browser language; compared with the IP country (informational)"},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["en","zh","ja","ko","vi","ru"],"default":"en"},"description":"Language of human-readable text"}],"responses":{"200":{"description":"IP intelligence","headers":{"X-Rl":{"description":"Free tier: requests left in this minute","schema":{"type":"integer"}},"X-Ttl":{"description":"Free tier: seconds until the minute resets","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Paid: credits left this month","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IpResult"}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"No source answered (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/ip":{"get":{"tags":["IP"],"operationId":"lookupMyIp","summary":"Same as /api/v1/ip/me: look up the caller's IP","parameters":[{"name":"scenarios","in":"query","required":false,"schema":{"type":"string"},"description":"As in /api/v1/ip/{ip}"},{"name":"market","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$","example":"US"},"description":"Target market country code (TikTok / Meta compare it with the exit country)"},{"name":"account_country","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$","example":"US"},"description":"Antigravity only: country of the Google account. Checked against Google's supported list and the exit country; without it account eligibility is not checked"},{"name":"timezone","in":"query","required":false,"schema":{"type":"string","example":"America/New_York"},"description":"Client IANA time zone; compared with the IP. With timezone or accept_lang the response adds inferred_region"},{"name":"accept_lang","in":"query","required":false,"schema":{"type":"string","example":"en-US"},"description":"Client browser language; compared with the IP country (informational)"},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["en","zh","ja","ko","vi","ru"],"default":"en"},"description":"Language of human-readable text"}],"responses":{"200":{"description":"IP intelligence","headers":{"X-Rl":{"description":"Free tier: requests left in this minute","schema":{"type":"integer"}},"X-Ttl":{"description":"Free tier: seconds until the minute resets","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Paid: credits left this month","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IpResult"}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/check":{"get":{"tags":["IP"],"operationId":"scenarioCheck","summary":"Platform check: per-check items with fix suggestions (paid key) or a summary (free tier)","parameters":[{"name":"scenario","in":"query","required":true,"schema":{"type":"string","enum":["claude","gpt","tiktok","meta","grok","antigravity","all"]},"description":"Platform to check"},{"name":"ip","in":"query","required":false,"schema":{"type":"string"},"description":"IP to check; omit for the caller's IP"},{"name":"market","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$","example":"US"},"description":"Target market country code (TikTok / Meta compare it with the exit country)"},{"name":"account_country","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$","example":"US"},"description":"Antigravity only: country of the Google account. Checked against Google's supported list and the exit country; without it account eligibility is not checked"},{"name":"timezone","in":"query","required":false,"schema":{"type":"string","example":"America/New_York"},"description":"Client IANA time zone; compared with the IP. With timezone or accept_lang the response adds inferred_region"},{"name":"accept_lang","in":"query","required":false,"schema":{"type":"string","example":"en-US"},"description":"Client browser language; compared with the IP country (informational)"},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["en","zh","ja","ko","vi","ru"],"default":"en"},"description":"Language of human-readable text"}],"responses":{"200":{"description":"One result, or `results` when scenario=all","headers":{"X-Rl":{"description":"Free tier: requests left in this minute","schema":{"type":"integer"}},"X-Ttl":{"description":"Free tier: seconds until the minute resets","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Paid: credits left this month","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResult"}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/usage":{"get":{"tags":["Account"],"operationId":"usage","summary":"Plan, usage in the current quota period (today for prepaid plans), expiry and daily requests (paid keys; free of charge)","security":[{"keyQuery":[]},{"bearer":[]}],"responses":{"200":{"description":"Usage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/keys/rotate":{"post":{"tags":["Account"],"operationId":"rotateKey","summary":"Replace the current key with a new one (old key stops working immediately)","security":[{"bearer":[]}],"responses":{"200":{"description":"New key, shown once","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"},"message":{"type":"string"}}}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/sessions":{"post":{"tags":["Check links"],"operationId":"createSession","summary":"Create a browser check link (paid keys; 5 credits when completed)","security":[{"keyQuery":[]},{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCreate"}}}},"responses":{"201":{"description":"Session created; webhook_secret is included when webhook_url is set","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"tags":["Check links"],"operationId":"listSessions","summary":"Latest 20 check links of this key","security":[{"keyQuery":[]},{"bearer":[]}],"responses":{"200":{"description":"Sessions","content":{"application/json":{"schema":{"type":"object","properties":{"sessions":{"type":"array","items":{"$ref":"#/components/schemas/Session"}}}}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/sessions/{id}":{"get":{"tags":["Check links"],"operationId":"getSession","summary":"Status and result of a check link","security":[{"keyQuery":[]},{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Session id"}],"responses":{"200":{"description":"Session","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"400":{"description":"Bad parameter (not charged)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or rotated key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key suspended / expired, or paid-only endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such session for this key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, quota exceeded or temporarily banned (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/health":{"get":{"tags":["Status"],"operationId":"health","summary":"Availability of this API (self-check every 5 minutes; free, no key)","security":[{}],"responses":{"200":{"description":"Current status and uptime","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["up","down","unknown"]},"checked_at":{"type":["string","null"],"format":"date-time"},"latency_ms":{"type":["integer","null"]},"uptime_24h":{"type":["number","null"],"description":"Percent, 0-100"},"uptime_30d":{"type":["number","null"],"description":"Percent, 0-100"},"hourly":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"string","format":"date-time"},"ok":{"type":"integer"},"total":{"type":"integer"}}}}}}}}}}}}},"webhooks":{"sessionCompleted":{"post":{"summary":"Sent once when an end user completes a check link; retried after 1, 5 and 30 minutes on non-2xx","description":"Header X-Ipnet-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256(webhook_secret, t + \".\" + raw body)>","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","const":"session.completed"},"data":{"$ref":"#/components/schemas/Session"}}}}}},"responses":{"200":{"description":"Any 2xx acknowledges delivery"}}}}},"components":{"securitySchemes":{"keyQuery":{"type":"apiKey","in":"query","name":"key","description":"Paid key as ?key=. Omit any key to use the free tier."},"bearer":{"type":"http","scheme":"bearer","description":"Paid key as Authorization: Bearer <key>"}},"schemas":{"Error":{"type":"object","required":["error","message"],"properties":{"error":{"type":"string","example":"rate_limited"},"message":{"type":"string"}}},"Verdict":{"type":"object","properties":{"verdict":{"type":"string","enum":["ok","risky","blocked"],"description":"Same verdict as the check page on our site: ok = usable, risky = usable with risk, blocked = not usable"},"reasons":{"type":"array","items":{"type":"string","enum":["REGION_UNSUPPORTED","TOR_EXIT","DATACENTER_IP","BLACKLISTED","PROXY_DETECTED","PROXY_SUSPECTED","VPN_DETECTED","MARKET_MISMATCH","TIMEZONE_MISMATCH","LANGUAGE_MISMATCH","WEBRTC_LEAK","DNS_LEAK","AUTOMATION_DETECTED","CONNECTIVITY_FAILED","CLOCK_SKEW","FINGERPRINT_INCONSISTENT","INFERRED_REGION_UNSUPPORTED","ACCOUNT_REGION_UNSUPPORTED","ACCOUNT_REGION_MISMATCH","ACCOUNT_REGION_NOT_GIVEN"]}},"disposition":{"$ref":"#/components/schemas/Disposition"},"inferred_risk":{"$ref":"#/components/schemas/InferredRisk"}}},"Disposition":{"type":"object","description":"Simulated platform response, the same risk gauge as the check page. Levels go from 0 (normal use) to 3 (heaviest); what each level means differs per platform, see ladder.","properties":{"level":{"type":["integer","null"],"minimum":0,"maximum":3,"description":"Most likely level; null when blocked"},"label":{"type":["string","null"],"description":"What that level means on this platform, in the requested locale"},"blocked":{"type":"boolean","description":"The exit is in a region the platform does not serve: it won't open, the ladder does not apply"},"certain":{"type":"boolean","description":"A definite block (e.g. an eligibility check failed), not a likelihood"},"possible":{"type":"array","description":"Paid keys and check links only: other levels that may also happen","items":{"type":"object","properties":{"level":{"type":"integer"},"label":{"type":"string"}}}},"reasons":{"type":"array","description":"Paid keys and check links only: what drives the level, strongest first","items":{"type":"string","enum":["inferred_region","account_signals","blacklist","datacenter","proxy","leak","timezone","exit_rotation","exit_region","account_region","account_unknown","account_unset","account_mismatch","unreachable","tor","market","language"]}},"real_country":{"type":["string","null"],"description":"Paid keys and check links only: region the signals point to, when that drives the level"},"ladder":{"type":"array","description":"Paid keys and check links only: the four levels for this platform, 0 to 3","items":{"type":"string"}}}},"InferredRisk":{"type":"string","enum":["ok","verify","restricted","blocked","unknown"],"description":"Present when inferred_region is: what the platform would likely do given the inferred real location. verify = may ask for identity checks; restricted = signals point to an unsupported region with high confidence"},"InferredRegion":{"type":"object","description":"Where the client most likely is, judged from signals beyond the IP (timezone name, language; on check links also WebRTC, DNS and other exits). When it points to an unsupported region it counts toward disposition and adds INFERRED_REGION_UNSUPPORTED, as on the check page.","properties":{"country_code":{"type":["string","null"]},"confidence":{"type":"string","enum":["high","medium","low"]},"mismatch":{"type":"boolean","description":"true when the inferred region differs from the IP country"},"signals":{"type":"array","description":"Paid keys and check links only","items":{"type":"object","properties":{"kind":{"type":"string","enum":["webrtc","direct","history","dns","timezone","language","font","latency","card","phone","store","gaccount"]},"country_code":{"type":["string","null"]},"effect":{"type":"string","enum":["for","against","note"]},"weight":{"type":"number"}}}}}},"IpResult":{"type":"object","properties":{"ip":{"type":"string"},"location":{"type":"object","properties":{"country":{"type":["string","null"]},"country_code":{"type":["string","null"]},"region":{"type":["string","null"]},"city":{"type":["string","null"]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"timezone":{"type":["string","null"]}}},"network":{"type":"object","properties":{"asn":{"type":["string","null"]},"as_name":{"type":["string","null"]},"isp":{"type":["string","null"]},"org":{"type":["string","null"]},"ptr":{"type":["string","null"]}}},"type":{"type":"string","enum":["residential","mobile","datacenter","vpn","proxy","tor","unknown"]},"flags":{"type":"object","properties":{"proxy":{"type":"boolean"},"vpn":{"type":"boolean"},"tor":{"type":"boolean"},"datacenter":{"type":"boolean"},"mobile":{"type":"boolean"}}},"blacklist":{"type":["object","null"],"properties":{"listed":{"type":"integer"},"checked":{"type":"integer"}}},"score":{"type":"integer","minimum":0,"maximum":100,"description":"Purity score"},"factors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"points":{"type":"integer"},"label":{"type":"string"},"detail":{"type":"string"}}}},"sources":{"type":"integer","description":"Number of intelligence sources cross-checked"},"data_complete":{"type":"boolean","description":"false when datacenter / proxy flags could not be checked. false flags then mean \"not checked\", not \"clean\""},"data_as_of":{"type":["string","null"],"format":"date-time","description":"Set only when the data source is down and older data (up to 30 days) is returned; otherwise null"},"degraded":{"type":"boolean","description":"Present only under peak load: live blacklist check skipped"},"checked_at":{"type":"string","format":"date-time"},"scenarios":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Verdict"},"description":"Present when ?scenarios= is given"},"inferred_region":{"$ref":"#/components/schemas/InferredRegion"},"rules_version":{"type":"string"}}},"CheckItem":{"type":"object","properties":{"key":{"type":"string"},"status":{"type":"string","enum":["pass","warn","fail","unknown"]},"title":{"type":"string"},"value":{"type":"string"},"basis":{"type":"string"},"impact":{"type":"string"},"fix":{"type":["string","null"]},"fix_kind":{"type":["string","null"],"enum":["config","ip","account",null],"description":"config = fixable in browser / system / proxy-client settings; ip = the exit IP itself, settings won't fix it; account = not a network issue (e.g. Google account country)"},"confidence":{"type":"string","enum":["high","medium","low"]},"source":{"type":"string","enum":["server","client_reported"],"description":"Check links only"}}},"CheckResult":{"type":"object","properties":{"ip":{"type":"string"},"market":{"type":"string"},"scenario":{"type":"string","enum":["claude","gpt","tiktok","meta","grok","antigravity"]},"verdict":{"type":"string","enum":["ok","risky","blocked"]},"reasons":{"type":"array","items":{"type":"string","enum":["REGION_UNSUPPORTED","TOR_EXIT","DATACENTER_IP","BLACKLISTED","PROXY_DETECTED","PROXY_SUSPECTED","VPN_DETECTED","MARKET_MISMATCH","TIMEZONE_MISMATCH","LANGUAGE_MISMATCH","WEBRTC_LEAK","DNS_LEAK","AUTOMATION_DETECTED","CONNECTIVITY_FAILED","CLOCK_SKEW","FINGERPRINT_INCONSISTENT","INFERRED_REGION_UNSUPPORTED","ACCOUNT_REGION_UNSUPPORTED","ACCOUNT_REGION_MISMATCH","ACCOUNT_REGION_NOT_GIVEN"]}},"disposition":{"$ref":"#/components/schemas/Disposition"},"score":{"type":"integer"},"ip_score":{"type":"integer"},"region":{"type":"string","enum":["supported","unsupported","unknown"],"description":"Whether the platform is available in the IP's country / region"},"coverage":{"type":"string","enum":["ip-only"]},"detail":{"type":"string","enum":["full","summary"],"description":"`full` with a paid key; `summary` on the free tier, which leaves out `checks` and `browser_checks_skipped`"},"checks":{"type":"array","items":{"$ref":"#/components/schemas/CheckItem"},"description":"Paid keys only"},"browser_checks_skipped":{"type":"array","items":{"type":"string"},"description":"Paid keys only"},"upgrade":{"type":"string","description":"Free tier only: where to get the per-check details"},"results":{"type":"array","items":{"type":"object"},"description":"Present instead of the single-result fields when scenario=all"},"inferred_risk":{"$ref":"#/components/schemas/InferredRisk"},"inferred_region":{"$ref":"#/components/schemas/InferredRegion"},"rules_version":{"type":"string"},"ip_info":{"type":"object"}}},"Usage":{"type":"object","properties":{"plan":{"type":"string"},"status":{"type":"string","enum":["active","suspended","expired"]},"quota":{"type":"integer"},"quota_period":{"type":"string","enum":["day","month"]},"monthly_quota":{"type":"integer","description":"Only on legacy monthly-quota keys"},"used":{"type":"integer"},"remaining":{"type":"integer"},"resets_at":{"type":"string","format":"date-time"},"expires_at":{"type":["string","null"],"format":"date-time"},"rps":{"type":"integer"},"daily":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"requests":{"type":"integer"},"limited":{"type":"integer"}}}}}},"SessionCreate":{"type":"object","required":["scenario"],"properties":{"scenario":{"type":"string","enum":["claude","gpt","tiktok","meta","grok","antigravity"]},"market":{"type":"string","pattern":"^[A-Za-z]{2}$"},"account_country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"Antigravity only: country of the Google account (stored in market)"},"locale":{"type":"string","enum":["en","zh","ja","ko","vi","ru"],"default":"en"},"ref":{"type":"string","maxLength":200},"redirect_url":{"type":"string","format":"uri","description":"https only"},"webhook_url":{"type":"string","format":"uri","description":"https only, must resolve to a public address"}}},"Session":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["pending","completed","expired"]},"scenario":{"type":"string","enum":["claude","gpt","tiktok","meta","grok","antigravity"]},"market":{"type":["string","null"]},"ref":{"type":["string","null"]},"url":{"type":"string","format":"uri"},"created_at":{"type":"string","format":"date-time"},"expires_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"result":{"type":["object","null"],"properties":{"verdict":{"type":"string","enum":["ok","risky","blocked"]},"reasons":{"type":"array","items":{"type":"string","enum":["REGION_UNSUPPORTED","TOR_EXIT","DATACENTER_IP","BLACKLISTED","PROXY_DETECTED","PROXY_SUSPECTED","VPN_DETECTED","MARKET_MISMATCH","TIMEZONE_MISMATCH","LANGUAGE_MISMATCH","WEBRTC_LEAK","DNS_LEAK","AUTOMATION_DETECTED","CONNECTIVITY_FAILED","CLOCK_SKEW","FINGERPRINT_INCONSISTENT","INFERRED_REGION_UNSUPPORTED","ACCOUNT_REGION_UNSUPPORTED","ACCOUNT_REGION_MISMATCH","ACCOUNT_REGION_NOT_GIVEN"]}},"score":{"type":"integer"},"ip_score":{"type":"integer"},"env_score":{"type":"integer"},"coverage":{"type":"string","enum":["full"]},"disposition":{"$ref":"#/components/schemas/Disposition"},"inferred_region":{"$ref":"#/components/schemas/InferredRegion"},"inferred_risk":{"$ref":"#/components/schemas/InferredRisk"},"checks":{"type":"array","items":{"$ref":"#/components/schemas/CheckItem"}},"ip_info":{"$ref":"#/components/schemas/IpResult"},"client":{"type":"object","properties":{"request_ip":{"type":["string","null"]},"exit_ip":{"type":"string"},"user_agent":{"type":["string","null"]},"timezone":{"type":["string","null"]},"language":{"type":["string","null"]}}},"rules_version":{"type":"string"}}},"webhook":{"type":["object","null"],"properties":{"status":{"type":["string","null"],"enum":["pending","delivered","failed",null]},"attempts":{"type":"integer"},"last_error":{"type":["string","null"]}}},"webhook_secret":{"type":"string","description":"Only in the create response when webhook_url is set"}}}}}}