Getting Started

Overview

One key, one JSON envelope and 1,158 public endpoints across 87 platforms. Start with the shape before the individual sources.

GET https://api.cleanfetch.dev/v1/{platform}/{resource}1 to 20 credits per lookup
auth: x-api-keycontent-type: application/jsonenvelope: data + meta
request.sh
curl -s "https://api.cleanfetch.dev/v1/linkedin/profile?url=https://www.linkedin.com/in/williamhgates" \
  -H "x-api-key: cf_live_your_key_here"
response.json
200 OK / application/json
{
  "data": {
    "platform": "linkedin",
    "profile": {
      "name": "Bill Gates",
      "headline": "Co-chair, Bill & Melinda Gates Foundation",
      "followers": 41200000
    }
  },
  "meta": {
    "requestId": "req_cf_01j9k933p9s",
    "lookupStatus": "found",
    "creditsCharged": 1,
    "latencyMs": 918,
    "cached": false
  }
}

The envelope

Every successful response has data and meta. data holds the normalized public record for the platform. meta holds the requestId, lookupStatus, creditsCharged, latencyMs and cached flag. Fields that a platform does not expose are null rather than invented.

Coverage

The catalog covers 87 platforms in four groups: social profiles, video and audio, communities, and commerce and reviews. The full directory lists endpoint counts and the minimum credit cost for each source.

Public data only

CleanFetch reads public pages and public APIs without cookies, passwords or account sessions. Private profiles, direct messages and anything behind a login are out of scope.

Where to go next

The quickstart sends a first request. Authentication covers key handling. Credits and Billing explains what is charged and when an upstream failure is free.

ready