REST API

Programmatic access to a nightly-synced mirror of the UN Digital Library.
Anonymous access available at 10 req/min — sign in for a free key with higher limits.

Authentication

Anonymous

Make requests without credentials. Lower rate limits apply.

curl "https://digitallibrary.unfck.org/v1/search?q=A/RES"

API Key

Pass your key via Authorization header or ?api_key= param.

curl -H "Authorization: Bearer undl_live_..." \
  "https://digitallibrary.unfck.org/v1/search?q=A/RES"

Rate Limits

TierRateDailyAccess
Anonymous10 req/min100No key needed
Free60 req/min10,000Free API key
Research300 req/min100,000Approved researchers
Institutional1,000 req/minUnlimitedUN agencies & partners

Quick Start

curl

# Search
curl "https://digitallibrary.unfck.org\
  /v1/search?q=climate"

# With API key
curl \
  -H "Authorization: Bearer KEY" \
  "https://digitallibrary.unfck.org\
  /v1/search?q=climate"

Python

import httpx

BASE = "https://digitallibrary.unfck.org"

r = httpx.get(
  f"{BASE}/v1/search",
  params={"q": "climate"},
  headers={
    "Authorization": "Bearer KEY"
  },
)
docs = r.json()["results"]

JavaScript

const BASE =
  "https://digitallibrary.unfck.org";

const res = await fetch(
  `${BASE}/v1/search?q=climate`,
  {
    headers: {
      Authorization: `Bearer ${KEY}`,
    },
  }
);
const { results } = await res.json();

Full endpoint reference

Browse all endpoints, parameters, and response schemas in the interactive Swagger UI.

Open API Reference

Get your API key

Free keys are available. Sign in to generate your key and start building.

Sign in to get a key