Developers · API endpoints

Public resolver

The keyless endpoint behind every QR code: the public tier of a passport as JSON or JSON-LD, 404 and 410 semantics.

Version
v1.0.0
Base URL
https://dppapi-production.up.railway.app/v1
Format
JSON · OpenAPI 3.1
FeedbackLast updated

The address behind every QR code. No key, not under /v1, cacheable, and public tier only: restricted Annex XIII points never leave the server on this path.

Personalise the samples. Paste a test key and every snippet uses it — and your own model and passport ids.

GET/p/{uniqueIdentifier}
no key

Resolve a passport

The public tier of a published passport as JSON. Send Accept: application/ld+json to get JSON-LD from the same URL. Responses carry an ETag, so scanners and caches can revalidate cheaply.

Parameters1

  • uniqueIdentifierstringpathrequired

    The battery’s identifier, e.g. C-7KQ2M9XHT4R.

Responses

  • 200OK — The public passport.

Errors2

GET /p/{uniqueIdentifier}
curl "https://dppapi-production.up.railway.app/p/C-7KQ2M9XHT4R"
200The public passport.
GET/p/{uniqueIdentifier}.jsonld
no key

Resolve as JSON-LD

The same public tier as JSON-LD (application/ld+json), including the version reference of the published content.

Parameters1

  • uniqueIdentifierstringpathrequired

    The battery’s identifier.

Responses

  • 200OK — application/ld+json.

Errors2

GET /p/{uniqueIdentifier}.jsonld
curl "https://dppapi-production.up.railway.app/p/C-7KQ2M9XHT4R.jsonld"
200application/ld+json.

Cookie preferences

You choose which cookies are used. You can change your choice at any time with “Cookie settings” in the footer. Privacy policy

Necessary

Always on

Needed for the site to work: your light/dark theme and this cookie choice are stored in your browser. They do not track you.

Analytics

Google Analytics 4 measures how pages are used through statistics, which helps us improve the site. If you accept, it sets cookies and measures your visit in full. If you decline, it sets no cookies, but Google may still receive technical data such as the page viewed, your browser type and IP address.

_ga, _ga_* · up to 2 years · Google