Skip to content
OSINTtools.io

GeoInfer API

AI photo geolocation that estimates country, region and city from image pixels alone, with a confidence radius.

Base URL
https://api.geoinfer.com
Sign-in
API key
Pricing
Credits
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from docs.geoinfer.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

GeoInfer predicts where a photo was taken from its pixels alone. Per its docs it returns ranked candidate locations with coordinates, a place name and a confidence radius in km, and it does not use EXIF data, web search or reverse image search.

The prediction endpoint, POST /v1/prediction/predict, takes a multipart file upload (max 10 MB; JPEG, PNG, GIF, BMP, TIFF, WebP, HEIC, HEIF) and cannot be described in this reference. See the predict docs. Each prediction costs 1 credit for global models and 3 for High Accuracy (regional) models.

The two endpoints below are the ones that take no upload: the model list and the credit summary. Requests go to https://api.geoinfer.com with the key in the X-GeoInfer-Key header; keys start with geo_.

Quick start

  1. Get a key

    Create an account with GeoInfer and copy your api key. Where to get it

  2. Make your first request

    List the prediction models you can use, with their ids and credit cost.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.geoinfer.com/v1/prediction/models' \
      -H 'X-GeoInfer-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "message_code": "success",
      "data": [
        {
          "id": "global_v4_1",
          "type": "global",
          "name": "Global",
          "version": "4.1",
          "enabled": true,
          "access_level": "public",
          "credits_per_use": 1,
          "status": "ready"
        }
      ]
    }

Authentication

Send your API key in the X-GeoInfer-Key header of every request.

Keys start with geo_. The model list also works without a key and then returns only public models.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Each key uses the rate limits of its plan; the docs give no numbers

Pricing: credits.

Errors

StatusMeaning
401API key missing or invalid
402No credits remaining
422Retired or invalid model_id
429Rate limit exceeded

Models

  • Passive: the target is not contacted

The source of truth for model_id values. Models missing from the list are retired. Without a key only public models are returned; with a key, models your organization can access.

Response fields · 9Show

message_codestring

Status string, e.g. success

idstring

Model identifier to pass as model_id

typestring

Model category, e.g. global

namestring

Display name

versionstring

Model version

enabledboolean

Whether the model is enabled

access_levelstring

e.g. public

credits_per_useinteger

Credits charged per prediction

statusstring

Serving health: ready, down or unknown

curl 'https://api.geoinfer.com/v1/prediction/models' \
  -H 'X-GeoInfer-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "message_code": "success",
  "data": [
    {
      "id": "global_v4_1",
      "type": "global",
      "name": "Global",
      "version": "4.1",
      "enabled": true,
      "access_level": "public",
      "credits_per_use": 1,
      "status": "ready"
    }
  ]
}

Account

  • Passive: the target is not contacted

Requires the API key.

Response fields · 4Show

message_codestring

Status string, e.g. success

credits_remaininginteger

Credits left

credits_usedinteger

Credits consumed

credits_totalinteger

Total credits in the plan

curl 'https://api.geoinfer.com/v1/credits/summary' \
  -H 'X-GeoInfer-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "message_code": "success",
  "data": {
    "credits_remaining": 450,
    "credits_used": 50,
    "credits_total": 500
  }
}