Skip to main content

Developer data utility

Random data APIs, built like developer tools.

Useful mock fixtures and curated reference data with parameters that genuinely work. Pick an endpoint, shape the response and fetch clean JSON — without provisioning anything.

GET /api/users?count=2&seed=7&fields=fullName,email,age
{
  "data": [
    {
      "fullName": "Milford Schimmel",
      "email": "milford.schimmel@example.com",
      "age": 71
    },
    {
      "fullName": "Jonas Torp",
      "email": "jonas.torp@example.org",
      "age": 55
    }
  ],
  "meta": {
    "endpoint": "users",
    "count": 2,
    "seed": 7,
    "locale": "en",
    "params": {
      "minAge": 18,
      "maxAge": 80
    },
    "generatedAt": "2026-10-23T16:54:10.000Z"
  }
}

Actual API response. seed=7 returns these records every time.

Endpoints
159
Routes
341
Mock APIs
77
Real APIs
82
Data locales
8
Holiday countries
61
Requests / minute
60
Requests / day
10,000

Verified by contract and source

Every documented parameter is contract-tested. Real endpoints cite authoritative material such as ISO 4217, the IANA Time Zone Database and national statutory holiday rules. Read the public data methodology for badge meaning, source pinning and partial coverage.

Quick start

From empty file to useful fixture

01 / PICK

Choose the domain

Find an endpoint in the catalog — for example, fake users.

/api/users

02 / SHAPE

Set meaningful parameters

Control count, locale, ranges and projected fields. The documented controls are the real contract.

?count=25&locale=de&minAge=21

03 / FETCH

Use it from any stack

Browser, backend, curl or CI — responses are CORS-open and use a consistent envelope.

await fetch(url).then(r => r.json())

Proven starting points

Start with a high-value endpoint

All 159 endpoints

Real reference data

Complete datasets, pinned to their source

Postal Code Lookup API

/api/postal-codes
REAL DATA

Look up real postal codes in 21 countries — place, region, coordinates and GeoNames accuracy — with each country's coverage stated, not implied.

Postal codes
336,034
Countries
21

Country Statistics API

/api/country-stats
REAL DATA

Population, GDP, life expectancy and five more World Bank indicators for 215 countries, 1960–2025: latest value, one year, a full annual series or a ranking.

Observations
119,402
Countries
215
Indicators
8
Years
66

World Cities API

/api/cities
REAL DATA

31,000+ world cities from a pinned GeoNames snapshot: coordinates, IANA timezone, elevation, population and capital flag — filter, search or rank by distance.

Populated places
31,793
Countries & territories
245
Capitals
240
Time zones
361

Port Number & Service Lookup API

/api/ports
REAL DATA

Look up which service IANA registered for a TCP/UDP port, or search services by name — the complete registry for ports 0-49151, verbatim with every reference.

Registry rows
13,463
Service names
6,341

University Domains & Email Verification API

/api/universities
REAL DATA

Search 10,254 universities and colleges in 199 countries, resolve a domain like mit.edu to its institution, and check if an email is a university address.

Institutions
10,254
Domains
10,574
Countries & territories
199

Airport Codes API

/api/airports
REAL DATA

Every scheduled-service airport with an IATA code — 4,159 rows with ICAO code, city, country, coordinates, elevation, time zone and 5,660 runways.

Airports
4,159
Runways
5,660
Countries & territories
235

Unicode Emoji API

/api/emoji
REAL DATA

All 3944 fully-qualified Unicode 17.0 emoji with groups, CLDR keywords and code points — plus grapheme-correct emoji counting for any text.

Emoji sequences
3,944
Groups
9
Subgroups
98

MIME Type Lookup API

/api/mime-types
REAL DATA

The complete IANA media type registry with file extensions merged in — look up any type or extension, or strictly parse a Content-Type value into its parts.

Media types
2,686
File extensions
1,248

ISO 3166 Countries API

/api/countries
REAL DATA

All 249 ISO 3166-1 countries and territories: codes, capitals, currencies, languages, area in km², continent, ccTLD, calling codes, flags and map points.

Countries & territories
249
Fields per country
17

Browse by domain

9 focused API categories

Platform guarantees

Predictable behavior before decoration

No auth ceremony

No signup, tokens or paywall. Compose a URL and fetch it from any stack.

Every parameter works

Filters filter, ranges constrain and unknown values fail clearly instead of returning the wrong record.

Reproducible fixtures

The same seed and resolved inputs return the same data, including explicit replay windows for time-shaped mocks.

Honest provenance

Generated fixtures are labelled mock. Curated facts are labelled real and carry their source.

Reference

Common implementation questions

Is randomapi.dev really free?

Yes. Every endpoint is free to use with no API key, no signup and no credit card. Generous per-IP rate limits (60 requests/minute, 10,000/day) keep the platform healthy.

What's the difference between mock and real data?

Every endpoint is badged. MOCK endpoints return generated, fake data (users, products, passwords) — perfect for test fixtures. REAL endpoints return authoritative, curated facts (public holidays, countries, currencies, HTTP statuses) you can rely on.

Can I get the same data every time?

Yes — pass a seed and the same resolved parameters to a mock endpoint and the exact same records come back. Time-window fixtures echo resolved dates in meta.params so you can replay them explicitly on another day.

Which formats are supported?

JSON (default, with a consistent data/meta envelope), NDJSON for streaming pipelines, and CSV for spreadsheets. Add unwrap=true for raw JSON without the envelope.

Can I use it in production?

Mock endpoints are designed for development, testing and demos. Real endpoints (holidays, countries, currencies…) serve curated reference data suitable for light production use within the rate limits.