Call it
curl https://api.peume.com/v1/call/sec-events \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": "50",
"forms": "8-K"
}
}'const res = await fetch("https://api.peume.com/v1/call/sec-events", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": "50",
"forms": "8-K"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/sec-events",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": "50",
"forms": "8-K"
}
},
)
print(res.json()["output"])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: sec-events.
Parameters
tickerstringone company by ticker
cikstringone company by SEC CIK
limitstring1-200
Example: 50
itemsstringcomma list of 8-K item codes, e.g. 2.02,5.02
formsstringcomma list from 8-K,4,S-1,F-1,424B4 (amendments ride with their base form)
Example: 8-K
sincestringISO 8601 UTC, unix seconds, or the cursor (c:...) from a previous answer; only events after it, oldest first, paged: follow `cursor` while `more` is true
