Menu

Sources

Law

Statutes, regulations and court opinions (United States).

Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)

Text
"sources": ["law"]

The law source is United States law: statutes, regulations and court opinions. A result is one section or one opinion.

Good for

Not the place for

What a result carries

Every result has the same fields whatever the source; the Search reference lists them. What differs is which of them are filled in:

FieldIn this source
published_dateSet on opinions; null on statutes and usually on regulations.
page_type, topicnull.
popularityThe popularity of the official site that publishes the text.
signals (with explain)null values.
extrarecord_type (statute, regulation or opinion), citation on statutes and regulations, and citations, how often other records cite this one.

The extra keys are what this source returns today. Treat every one of them as optional: read it if it is there.

Example queries

Ten records with their type and citation:

Example
Shell
curl https://api.millionshort.com/v1/search \
  -H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "copyright fair use",
    "sources": ["law"],
    "num_results": 10
  }'

Combine it with

web for explanations, news for a current case, contracts and finance for the documents a rule applies to. One call can ask up to five sources and returns one merged list; each result says which source it came from in source. See Mixture of Experts.

Cost and limits

A search of this source costs 1 credit, like every source, and covers the first 10 results of the call. It is not one of the heavy sources, so only the plan's ordinary requests-per-minute limit applies. Credits and limits has the numbers.

With Monitor, a query monitor can watch this source, with a shortest interval of 24 hours.

This page as Markdown ยท llms.txt