PeumeAPI

Developer & public data

Get Section Text

Get the full official text of one US law section by actId, optionally as of a past date.

$0.09 per call

Call it

curl https://api.peume.com/v1/call/get-section-text \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "act_id": "your act id"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: get-section-text.

Parameters

formatstring

Which representations to return (default 'both' = html + plain). 'content' returns the split fields content, sourceCredit and notes; 'operative' drops notes as well. The split exists for United States Code sections only — other corpora fall back to plain with a note. Same price.

both · html · plain · content · operative

structuredboolean

Also return markdown and a subsections tree addressable by pincite, e.g. (b)(2). Same price.

asOfstring

Return the text as it stood on this date (YYYY-MM-DD). Read the asOf block on the response: engine says which backend answered and isBounded how far the answer can be trusted. Historical coverage is sparse outside the CFR annual editions.

act_idRequiredstring

Section identifier, e.g. 'USC_T42_C21_S1983'. Take it from a search, resolve, or divisions result — a hand-assembled id usually answers 404 because the chapter segment is not derivable from a citation.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.