Skip to content
OSINTtools.io

Planespotters.net API

Civil aviation database with airframe histories, airline fleet lists, production lists and over a million aircraft photos.

Base URL
https://api.planespotters.net/pub
Sign-in
No key
Free tier
Free tier
Pricing
Free
Format
REST
Endpoints
2

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

Introduction

The Planespotters.net photo API returns the latest photo of an aircraft, looked up by its registration (tail number) or by its Mode S / ICAO 24-bit hex code. Each result carries two thumbnail URLs, a link to the photo page and the photographer's name. It does not return aircraft ownership or flight data.

The API is free and needs no key. It returns one photo per call and takes no custom parameters. Browser clients must call it from a web page that sends an Origin or Referer header; any other client must send a unique, descriptive User-Agent that includes a contact URL or email. Requests that fail these checks get a 403.

The terms of use require crediting the photographer next to each photo, linking the thumbnail to the photo page using the returned URL, using returned URLs unchanged, not storing or re-hosting images, and not using the data to train machine-learning models. Responses may be cached for up to 24 hours.

Quick start

  1. No key needed

    The Planespotters.net API answers without an account or key.

  2. Make your first request

    Latest photo of an aircraft by registration.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.planespotters.net/pub/photos/reg/D-ABCD'
  3. Read the response

    A 200 response looks like this.

    {
      "photos": [
        {
          "id": "000001",
          "thumbnail": {
            "src": "https://cdn.example.com/photo_t.jpg",
            "size": {
              "width": 200,
              "height": 133
            }
          },
          "thumbnail_large": {
            "src": "https://cdn.example.com/photo_280.jpg",
            "size": {
              "width": 420,
              "height": 280
            }
          },
          "link": "https://www.example.com/photo/000001/example",
          "photographer": "Example Photographer"
        }
      ]
    }

Authentication

No key or account: every endpoint answers without one.

No key. Non-browser clients must send a descriptive User-Agent with a contact URL or email.

Rate limits and pricing

Not stated as a number in the docs: use must stay within reasonable limits; sustained or bursty traffic may be throttled or blocked.

Free tier. Pricing: free.

Errors

StatusMeaning
403The request did not identify itself: no Origin or Referer from a browser page, or a missing or generic User-Agent from a server or device

Aircraft photos

Returns the latest photo (by date taken) for the registration. The photos array is empty when none are found; an error property is present when the call failed.

Path parameters

regstringrequiredtakes your name

Aircraft registration, for example D-ABCD

Example: D-ABCD
Response fields · 11Show

photos[]object

Photo objects; empty when no photo was found

idstring

Photo identifier

srcstring

URL of the regular thumbnail (200 px wide in landscape)

widthinteger

Thumbnail width in pixels

heightinteger

Thumbnail height in pixels

srcstring

URL of the large thumbnail (280 px high)

widthinteger

Large thumbnail width in pixels

heightinteger

Large thumbnail height in pixels

linkstring

URL of the photo page on Planespotters.net; the thumbnail must link here

photographerstring

Photographer's name, to be credited next to the photo

errorstring

Error message, present only when the call failed

curl 'https://api.planespotters.net/pub/photos/reg/D-ABCD'
No key needed
Response
{
  "photos": [
    {
      "id": "000001",
      "thumbnail": {
        "src": "https://cdn.example.com/photo_t.jpg",
        "size": {
          "width": 200,
          "height": 133
        }
      },
      "thumbnail_large": {
        "src": "https://cdn.example.com/photo_280.jpg",
        "size": {
          "width": 420,
          "height": 280
        }
      },
      "link": "https://www.example.com/photo/000001/example",
      "photographer": "Example Photographer"
    }
  ]
}

Uses the Planespotters.net aircraft database. If the hex code is known, only photos of that current aircraft are returned; if it is unknown, the registration assigned to the hex code is used instead.

Path parameters

hexstringrequiredtakes your name

Mode S / ICAO 24-bit address in hex, for example ABC123

Example: ABC123
Response fields · 7Show

photos[]object

Photo objects; empty when no photo was found

idstring

Photo identifier

srcstring

URL of the regular thumbnail

srcstring

URL of the large thumbnail

linkstring

URL of the photo page on Planespotters.net

photographerstring

Photographer's name

errorstring

Error message, present only when the call failed

curl 'https://api.planespotters.net/pub/photos/hex/ABC123'
No key needed
Response
{
  "photos": [
    {
      "id": "000002",
      "thumbnail": {
        "src": "https://cdn.example.com/photo2_t.jpg",
        "size": {
          "width": 200,
          "height": 133
        }
      },
      "thumbnail_large": {
        "src": "https://cdn.example.com/photo2_280.jpg",
        "size": {
          "width": 420,
          "height": 280
        }
      },
      "link": "https://www.example.com/photo/000002/example",
      "photographer": "Example Photographer"
    }
  ]
}