# Planespotters.net API reference

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

Source: https://osinttools.io/apis/planespotters/ (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/planespotters/

- Base URL: https://api.planespotters.net/pub
- Authentication: No key needed. No key. Non-browser clients must send a descriptive User-Agent with a contact URL or email.
- Free tier: yes
- Pricing: Free
- Rate limits: Not stated as a number in the docs: use must stay within reasonable limits; sustained or bursty traffic may be throttled or blocked.
- Vendor docs: https://www.planespotters.net/photo/api

## Overview

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.

## Errors

| Status | Meaning |
| --- | --- |
| 403 | The 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

### Latest photo of an aircraft by registration.

`GET /photos/reg/{reg}`

- Takes: Name
- Footprint: passive (the target is not contacted)

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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `reg` | path | string | yes | Aircraft registration, for example D-ABCD Example: D-ABCD |

Response fields:

- `photos[]` (object): Photo objects; empty when no photo was found
- `photos[].id` (string): Photo identifier
- `photos[].thumbnail.src` (string): URL of the regular thumbnail (200 px wide in landscape)
- `photos[].thumbnail.size.width` (integer): Thumbnail width in pixels
- `photos[].thumbnail.size.height` (integer): Thumbnail height in pixels
- `photos[].thumbnail_large.src` (string): URL of the large thumbnail (280 px high)
- `photos[].thumbnail_large.size.width` (integer): Large thumbnail width in pixels
- `photos[].thumbnail_large.size.height` (integer): Large thumbnail height in pixels
- `photos[].link` (string): URL of the photo page on Planespotters.net; the thumbnail must link here
- `photos[].photographer` (string): Photographer's name, to be credited next to the photo
- `error` (string): Error message, present only when the call failed

```bash
curl 'https://api.planespotters.net/pub/photos/reg/D-ABCD'
```

Example response (200):

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

### Latest photo of an aircraft by Mode S / ICAO 24-bit hex code.

`GET /photos/hex/{hex}`

- Takes: Name
- Footprint: passive (the target is not contacted)

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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hex` | path | string | yes | Mode S / ICAO 24-bit address in hex, for example ABC123 Example: ABC123 |

Response fields:

- `photos[]` (object): Photo objects; empty when no photo was found
- `photos[].id` (string): Photo identifier
- `photos[].thumbnail.src` (string): URL of the regular thumbnail
- `photos[].thumbnail_large.src` (string): URL of the large thumbnail
- `photos[].link` (string): URL of the photo page on Planespotters.net
- `photos[].photographer` (string): Photographer's name
- `error` (string): Error message, present only when the call failed

```bash
curl 'https://api.planespotters.net/pub/photos/hex/ABC123'
```

Example response (200):

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

---

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/
