Skip to content

Instantly share code, notes, and snippets.

@janlukasschroeder
Last active June 15, 2021 07:13
Show Gist options
  • Save janlukasschroeder/ad68d427d9e77c05e024dc52cc6f4d1c to your computer and use it in GitHub Desktop.
Save janlukasschroeder/ad68d427d9e77c05e024dc52cc6f4d1c to your computer and use it in GitHub Desktop.
SEC EDGAR API - cURL Example
curl -XPOST -H "Content-type: application/json" -d '{
"query": {
"query_string": {
"query": "cik:320193 AND filedAt:{2016-01-01 TO 2016-12-31} AND formType:\"10-Q\""
}
},
"from": "0",
"size": "10",
"sort": [{ "filedAt": { "order": "desc" } }]
}' 'https://api.sec-api.io?token=YOUR_API_KEY'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment