Skip to content
inferredLocationQuery
inferredLocation: InferredLocation!

Best-guess location of the current request, inferred from the Cloudflare edge geo-IP. Used to prefill optional location fields like the create-business country. All fields null in non-Cloudflare runtimes.

Returns

InferredLocation!

See InferredLocation for the full shape.

Try it

Example
Query
query InferredLocation {
  inferredLocation {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
inferredLocation