# GeoInfer API reference

> 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,…

Source: https://osinttools.io/apis/geoinfer/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/geoinfer/

- Base URL: https://api.geoinfer.com
- Authentication: API key in the `X-GeoInfer-Key` header. Keys start with geo_. The model list also works without a key and then returns only public models.
- Pricing: Credits
- Rate limits: Each key uses the rate limits of its plan; the docs give no numbers
- Vendor docs: https://docs.geoinfer.com

## Overview

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](https://docs.geoinfer.com/api-reference/predict). 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_`.

## Errors

| Status | Meaning |
| --- | --- |
| 401 | API key missing or invalid |
| 402 | No credits remaining |
| 422 | Retired or invalid model_id |
| 429 | Rate limit exceeded |

## Models

### List the prediction models you can use, with their ids and credit cost.

`GET /v1/prediction/models`

- Footprint: 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:

- `message_code` (string): Status string, e.g. success
- `data[].id` (string): Model identifier to pass as model_id
- `data[].type` (string): Model category, e.g. global
- `data[].name` (string): Display name
- `data[].version` (string): Model version
- `data[].enabled` (boolean): Whether the model is enabled
- `data[].access_level` (string): e.g. public
- `data[].credits_per_use` (integer): Credits charged per prediction
- `data[].status` (string): Serving health: ready, down or unknown

```bash
curl 'https://api.geoinfer.com/v1/prediction/models' \
  -H 'X-GeoInfer-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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

### Show credits remaining, used and total for your plan.

`GET /v1/credits/summary`

- Footprint: passive (the target is not contacted)

Requires the API key.

Response fields:

- `message_code` (string): Status string, e.g. success
- `data.credits_remaining` (integer): Credits left
- `data.credits_used` (integer): Credits consumed
- `data.credits_total` (integer): Total credits in the plan

```bash
curl 'https://api.geoinfer.com/v1/credits/summary' \
  -H 'X-GeoInfer-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "message_code": "success",
  "data": {
    "credits_remaining": 450,
    "credits_used": 50,
    "credits_total": 500
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
