Skip to content
HappyFetch

Changelog

Every change to the HappyFetch API, newest first.

v1.1.0 (2026-10-19)#

Clearer errors, stricter checks on input that can't be looked up, and fixes to the cache.

  • Every lookup, search and cache check (POST /v1/…) answers with Cache-Control: no-store, and a 401 carries WWW-Authenticate: Bearer realm="HappyFetch API".
  • New error codes: method_not_allowed (405, with an Allow header) for a wrong method on a real endpoint, and https_required (403): the API only answers over HTTPS. An unknown path on the API host answers route_not_found in the usual error body.
  • A body that isn't JSON or UTF-8, has a wrong or missing Content-Type, or is compressed is checked after the API key and the rate limit: without a valid key you get 401 first, and these 400s carry the RateLimit-* headers and meta.credits_remaining.
  • Requests with a missing or invalid API key are limited per IP address, 60 a minute. Past that they get 429 rate_limited.
  • POST /v1/cache: fetched_at is rounded down to the hour, and age_seconds counts from there. When the company copy is too old for max_age and a newer not-found answer is held, it reports the not-found, as the lookup does.
  • Not-found answers are reused from the cache for at most 24 hours, whatever max_age says, and meta.cache.max_age_seconds reports that window. Cached not-found responses carry X-Cache and Age.
  • POST /v1/domain: a site on a hosting platform's subdomain, like acme.myshopify.com, is a lookup of its own. A public suffix on its own (co.uk) and names under special-use endings (localhost, .local, .internal and the like) are rejected for free. A trailing dot (stripe.com.) is accepted.
  • POST /v1/company: a URL whose path has . or .. segments is rejected for free.
  • POST /v1/person: a profile name is 3 to 100 letters, digits, hyphens or underscores, starting with a letter or digit. A relative /in/<name>?trk=… works.
  • An Idempotency-Key is at most 255 bytes.
  • MCP: a replayed call says so with meta.replayed: true, unknown or misspelled arguments are rejected for free with invalid_request, and the paid tools are no longer marked read-only.

v1.0.0 (2026-10-15)#

The first public version of the API.

  • POST /v1/company: company profiles from a LinkedIn company URL, slug, numeric id or URN, with the canonical slug and id in meta.canonical.
  • POST /v1/domain: the company behind a website domain, with the same profile as POST /v1/company and the matched domain and whether the match is verified in meta.resolved.
  • POST /v1/person: a person's profile summary (name, location, employers, schools, followers), with a content hash.
  • POST /v1/search: web search results as JSON.
  • POST /v1/cache: free. How old our copy of a company is, and what a lookup would cost now.
  • GET /v1/pricing: free, and works without a key. The price of every call, the credit packs and the free credits.
  • An MCP server at /mcp: the lookups, the search, the cache check and the prices as tools for AI agents, with your API key.
  • Database cache with max_age, the X-Cache and Age headers, and meta.cache on every result.
  • Credits, prepaid packs, automatic refunds and a per-request ledger.
  • Idempotency-Key on every endpoint; RateLimit-* headers on every response to a request made with a valid API key.
  • OpenAPI 3.1 at /openapi.json, with code samples in cURL, JavaScript and Python.