Skip to content
OSINTtools.io

Picarta API

AI service that predicts where a photo was taken from its visual content, returning ranked GPS candidates with confidence scores.

Base URL
https://api.picarta.ai/v1
Sign-in
No key
Format
REST
Endpoints
3

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

Introduction

The Picarta API predicts where a photo was taken from its content and, when present, its embedded metadata. You send an image (a base64-encoded file or an image URL) and get back the city, province, country, GPS coordinates and a confidence score for each prediction. If the image carries GPS EXIF data, that is returned directly.

Calls go to https://api.picarta.ai/v1. The API token is sent as a TOKEN field in the JSON body, not as a header. The docs state the API is available to Enterprise accounts only: access is requested by email to info@picarta.ai, and the token is generated on the account page after approval. The documented limit is 60 requests per minute.

Searches can be limited by country, region (admin1), county (admin2) or a centre point with a radius of up to 25 km. When a filter finds no location, the response has an empty topk_predictions_dict and a message, and no credits are deducted.

Quick start

  1. No key needed

    The Picarta API answers without an account or key.

  2. Make your first request

    List the admin1 regions supported for a country.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.picarta.ai/v1/admin1/IT'
  3. Read the response

    A 200 response looks like this.

    {
      "country_code": "IT",
      "admin1_regions": [
        "Lazio",
        "Toscana"
      ]
    }

Authentication

No key or account: every endpoint answers without one.

No header: the Enterprise API token is sent in the JSON body as TOKEN.

Get a key from Picarta

Rate limits and pricing

60 requests per minute

Errors

StatusMeaning
400Invalid token, no API access, missing or unreadable image, or image too large
404Country not found (admin lists)
429Rate limit exceeded (60 requests per minute)
500Temporary server error; retry later

Geolocation

If the image has GPS EXIF data it is returned directly; otherwise the AI predicts the location. Predictions are keyed by rank in topk_predictions_dict, and the top one is repeated in city, province, ai_country, ai_lat, ai_lon and ai_confidence.

Request body (JSON) · 10Show

TOKENstringalways present

Your API token

IMAGEstringalways present

Base64-encoded image or image URL

TOP_Kinteger

Number of predictions to return, 1 to 10 (default 10)

COUNTRY_CODEstring

2-letter country code to restrict the search

ADMIN1string

Region or state name; requires COUNTRY_CODE

ADMIN2string

County or district; requires COUNTRY_CODE and ADMIN1, some countries only

Center_LATITUDEnumber

Latitude of the search area centre

Center_LONGITUDEnumber

Longitude of the search area centre

RADIUSinteger

Search radius in km around the centre (max 25)

CONTEXTstring

Free-text hints about the photo, up to 500 characters

Response fields · 16Show

topk_predictions_dictobject

Predictions keyed by rank ("1" is the best)

citystring

Predicted city

provincestring

Predicted province

countrystring

Predicted country

confidencenumber

Confidence of the prediction

gps[]number

Latitude, then longitude

ai_countrystring

Top-1 predicted country

ai_latnumber

Top-1 predicted latitude

ai_lonnumber

Top-1 predicted longitude

ai_confidencenumber

Top-1 confidence

exif_latnumber

Latitude from EXIF, if present

exif_lonnumber

Longitude from EXIF, if present

camera_makerstring

Camera maker from EXIF

camera_modelstring

Camera model from EXIF

timestampstring

Capture time from EXIF

messagestring

Present when no location is found in the search area

curl -X POST 'https://api.picarta.ai/v1/geolocalize' \
  -H 'Content-Type: application/json' \
  -d '{"TOKEN":"YOUR_API_KEY","IMAGE":"https://example.com/photo.jpg","TOP_K":3,"COUNTRY_CODE":"IT","ADMIN1":"Toscana"}'
No key needed
Response
{
  "topk_predictions_dict": {
    "1": {
      "address": {
        "city": "Exampleville",
        "country": "Italy",
        "province": "Example Province"
      },
      "confidence": 0.94,
      "gps": [
        43.1,
        11
      ]
    }
  },
  "ai_confidence": 0.94,
  "ai_country": "Italy",
  "ai_lat": 43.1,
  "ai_lon": 11,
  "city": "Exampleville",
  "province": "Example Province",
  "camera_maker": "Example Camera Co",
  "camera_model": "EX-1",
  "timestamp": "2020:01:01 12:00:00"
}

Supported regions

  • Passive: the target is not contacted

Returns an empty list with a message when the country supports country-level search only.

Path parameters

country_codestringrequired

2-letter country code

Example: IT
Response fields · 3Show

country_codestring

The country code requested

admin1_regions[]string

Supported region names

messagestring

Present when only country-level search is supported

curl 'https://api.picarta.ai/v1/admin1/IT'
No key needed
Response
{
  "country_code": "IT",
  "admin1_regions": [
    "Lazio",
    "Toscana"
  ]
}
  • Passive: the target is not contacted

Returns an empty list with a message if not supported.

Path parameters

country_codestringrequired

2-letter country code

Example: US
admin1stringrequired

Admin1 region name

Example: Massachusetts
Response fields · 4Show

country_codestring

The country code requested

admin1string

The admin1 region requested

admin2_regions[]string

Supported county or district names

messagestring

Present when not supported

curl 'https://api.picarta.ai/v1/admin2/US/Massachusetts'
No key needed
Response
{
  "country_code": "US",
  "admin1": "Massachusetts",
  "admin2_regions": [
    "Essex",
    "Suffolk"
  ]
}