USAspending API ReferenceIndependent
Try the API

Natural-language search

Turns a plain-English question into a filter object.

Open a row for parameters and ready-to-run samples. The full reference has every field and a live console.

POSTLLM Filter Search/api/v2/llm/filter-search/In development

This endpoint provides a streaming response for LLM-powered search operations with advanced filtering capabilities.

curl -X POST 'https://api.usaspending.gov/api/v2/llm/filter-search/' \
  -H 'Content-Type: application/json' \
  -d '{
  "query": "Show me all contracts greater than $3M in California for IT services in 2023"
}'

Loading…