Menu

Sources

Contracts

Government contracts, grants and opportunities.

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

Text
"sources": ["contracts"]

The contracts source is government spending: contract and grant awards, opportunities, and the organisations that receive them. Most results are awards. A result names the agency, the recipient and, for an award, the amount and its currency.

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_datenull.
page_type, topicnull.
popularityThe popularity of the official site that publishes the record.
signals (with explain)text_rank is set.
extrarecord_type (for example Award or Recipient), agency, recipient, and for awards amount and currency.

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 the agency, the recipient and the amount:

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

Combine it with

news for coverage of a large award, law for the regulation behind a requirement. 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