Skip to content
OSINTtools.io

Common Crawl API

Free, open archive of web crawl data collected since 2008, with URL indexes for finding captures of a domain.

Base URL
https://index.commoncrawl.org
Sign-in
No key
Format
REST, Bulk files
Endpoints
2

Compiled by OSINTtools.io editors from commoncrawl.org · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Common Crawl publishes an index of the pages in each crawl. The CDX index server looks up captures by URL, host or domain and returns where each capture sits in the WARC files (filename, offset, length), with its timestamp, MIME type, status and digest.

Each crawl has its own endpoint; the list is at /collinfo.json. Queries use the CDX server parameters and need no key. The docs ask users not to overload the index server, state no numeric limit, and recommend the Columnar Index for bulk filtering.

Quick start

  1. No key needed

    The Common Crawl API answers without an account or key.

  2. Make your first request

    List the crawl collections and their index endpoints.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://index.commoncrawl.org/collinfo.json'
  3. Read the response

    A 200 response looks like this.

    [
      {
        "id": "CC-MAIN-2024-10",
        "name": "Example crawl",
        "cdx-api": "https://index.commoncrawl.org/CC-MAIN-2024-10-index"
      }
    ]

Authentication

No key or account: every endpoint answers without one.

Rate limits and pricing

Not stated in the docs (they ask users not to overload the index server)

Crawls

  • Passive: the target is not contacted

A JSON list of the collection endpoints that replace the collection part of the CDX query path.

Response fields · 3Show

idstring

Collection identifier

namestring

Collection name

cdx-apistring

URL of the CDX endpoint of the collection

curl 'https://index.commoncrawl.org/collinfo.json'
No key needed
Response
[
  {
    "id": "CC-MAIN-2024-10",
    "name": "Example crawl",
    "cdx-api": "https://index.commoncrawl.org/CC-MAIN-2024-10-index"
  }
]

CDX index

Use the collection endpoint path listed in /collinfo.json. With output=json each line is a separate JSON object. A minimal index may lack the mime and status fields. A page beyond the available count returns 400.

Path parameters

collectionstringrequired

Collection endpoint path from /collinfo.json

Example: CC-MAIN-2024-10-index

Query parameters

urlstringrequiredtakes your domain

URL or pattern; a trailing * is a prefix match and *.example.com a domain match

Example: *.example.com
matchTypestring

How the URL is matched

Example: domainDefault: exactOne of: exact, prefix, host, domain
outputstring

Output format: cdxj, json (NDJSON), link (Memento TimeMap) or text

Example: jsonDefault: cdxjOne of: cdxj, json, link, text
limitinteger

Maximum number of index lines returned

Example: 10
filterstring

Repeatable filter as field:[!][=|~]expression (contains, exact, regex, negated)

Example: status:200
fieldsstring

Comma-separated list of fields to output

Example: url,timestamp
fromstring

Start of an inclusive date range, up to 14 digits

Example: 2024
tostring

End of an inclusive date range, up to 14 digits

Example: 2024
pageinteger

Page number, starting at 0

Example: 0Default: 0
Response fields · 9Show

urlkeystring

Normalised search key of the URL

timestampstring

Capture time

urlstring

Captured URL

mimestring

MIME type

statusstring

HTTP status of the capture

digeststring

Content digest

lengthstring

Record length in the WARC file

offsetstring

Record offset in the WARC file

filenamestring

WARC file holding the record

curl 'https://index.commoncrawl.org/CC-MAIN-2024-10-index?url=*.example.com'
No key needed
Response
{
  "urlkey": "org,example)/",
  "timestamp": "20240101000000",
  "url": "https://www.example.org/",
  "mime": "text/html",
  "status": "200",
  "digest": "EXAMPLEDIGEST",
  "length": "1234",
  "offset": "5678",
  "filename": "crawl-data/EXAMPLE/segments/example.warc.gz"
}