Skip to content
OSINTtools.io

Lumen API

Harvard-based archive of takedown and content-removal requests sent to online services, searchable by sender, recipient and topic.

Base URL
https://lumendatabase.org
Sign-in
API key
Format
REST
Endpoints
3

Compiled by OSINTtools.io editors from berkman-klein-center.gitbook.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Lumen is a research database of legal takedown requests (DMCA, defamation, court orders, law enforcement requests and others) with their senders, recipients and the URLs named. An investigator can search notices by sender, recipient, topic or URL, and read one notice in full.

The base URL is https://lumendatabase.org. Searches and notice requests need an authentication token, which is requested by email to the Lumen team and is for research use under the API terms. Without a token requests are heavily throttled. Pass it in the X-Authentication-Token header or the authentication_token parameter.

A custom User-Agent is required (default agents such as curl are blocked). Use .json endpoints or send Accept: application/json. The docs also describe creating notices with POST /notices; that is not listed here.

Quick start

  1. Get a key

    Create an account with Lumen and copy your api key. Where to get it

  2. Make your first request

    Full-text search of takedown notices with field and facet filters.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://lumendatabase.org/notices/search.json' \
      -H 'X-Authentication-Token: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "notices": [
        {
          "id": 1000001,
          "title": "Example takedown notice",
          "date_received": "2024-05-01T00:00:00.000Z",
          "sender_name": "Example Sender Ltd",
          "recipient_name": "Example Platform",
          "score": 4.2
        }
      ],
      "meta": {
        "query": {
          "term": "example.com"
        },
        "current_page": 1,
        "next_page": null,
        "previous_page": null,
        "offset": 0,
        "per_page": 10,
        "total_entries": 1,
        "total_pages": 1
      }
    }

Authentication

Send your API key in the X-Authentication-Token header of every request.

Request a token by emailing the Lumen team; research use only.

Get a key from Lumen

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

About one request per second with a token; heavily throttled without one. A custom User-Agent is required.

Errors

StatusMeaning
401Token missing or misapplied
404Notice not found
429Too many requests, often a missing or misapplied token
500REQUEST REFUSED: search returned too many results; narrow it with a date facet

Notices

Terms are joined with OR by default; add term-require-all=yes to require all words. Results cannot go past the 10,000th result. Sorting defaults to relevancy asc.

Query parameters

termstringtakes your domain

Full-text query; use double quotes for an exact phrase

Example: example.com
sender_namestring

Search within the sender name

Example: Example Sender Ltd
recipient_namestring

Search within the recipient name

Example: Example Platform
topicsstring

Search within topics

Example: Copyright
date_received_facetstring

Date range in Unix epoch milliseconds as start..end

Example: 1546344000000..1546603200000
pageinteger

Page number

Example: 1Default: 1
per_pageinteger

Results per page

Example: 10Default: 10
sort_bystring

Sort order

Example: date_received descDefault: relevancy ascOne of: date_received asc, date_received desc, relevancy asc, relevancy desc
Response fields · 11Show

idinteger

Notice ID

titlestring

Notice title

date_receivedstring

When Lumen received the notice

sender_namestring

Sender name

recipient_namestring

Recipient name

scorenumber

Relevance score

queryobject

The query as understood

current_pageinteger

Current page

per_pageinteger

Results per page

total_entriesinteger

Total matching notices

total_pagesinteger

Total pages

curl 'https://lumendatabase.org/notices/search.json' \
  -H 'X-Authentication-Token: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "notices": [
    {
      "id": 1000001,
      "title": "Example takedown notice",
      "date_received": "2024-05-01T00:00:00.000Z",
      "sender_name": "Example Sender Ltd",
      "recipient_name": "Example Platform",
      "score": 4.2
    }
  ],
  "meta": {
    "query": {
      "term": "example.com"
    },
    "current_page": 1,
    "next_page": null,
    "previous_page": null,
    "offset": 0,
    "per_page": 10,
    "total_entries": 1,
    "total_pages": 1
  }
}
  • Passive: the target is not contacted

The root key is the notice type (for example dmca). Field names differ by notice type, for example defamation notices use legal_complaint and defamatory_urls. Missing URLs appear as No URL submitted.

Path parameters

idintegerrequired

Notice ID

Example: 1000001
Response fields · 14Show

idinteger

Notice ID

titlestring

Notice title

bodystring

Notice text

date_sentstring

Date sent

date_receivedstring

Date received

topics[]string

Topics

tags[]string

Tags

jurisdictions[]string

Jurisdictions

action_takenstring

Action taken

sender_namestring

Sender name

recipient_namestring

Recipient name

descriptionstring

Description of the work

urlstring

URL of the original work

urlstring

URL named as infringing

curl 'https://lumendatabase.org/notices/1000001.json' \
  -H 'X-Authentication-Token: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "dmca": {
    "id": 1000001,
    "title": "Example takedown notice",
    "body": "Example notice text.",
    "date_sent": "2024-04-30T00:00:00.000Z",
    "date_received": "2024-05-01T00:00:00.000Z",
    "topics": [
      "Copyright"
    ],
    "tags": [
      "example"
    ],
    "jurisdictions": [
      "US"
    ],
    "action_taken": "Yes",
    "sender_name": "Example Sender Ltd",
    "recipient_name": "Example Platform",
    "works": [
      {
        "description": "Example article",
        "copyrighted_urls": [
          {
            "url": "https://example.com/original"
          }
        ],
        "infringing_urls": [
          {
            "url": "https://example.org/copy"
          }
        ]
      }
    ]
  }
}

Reference

  • Passive: the target is not contacted

Returns an array of topics; root topics have a null parent_id.

Response fields · 3Show

idinteger

Topic ID

namestring

Topic name

parent_idinteger

Parent topic ID, null for root topics

curl 'https://lumendatabase.org/topics.json' \
  -H 'X-Authentication-Token: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "id": 1,
    "name": "Copyright",
    "parent_id": null
  },
  {
    "id": 2,
    "name": "Example subtopic",
    "parent_id": 1
  }
]