Search
Us Search
POST
/
us
/
search
Us Search
curl --request POST \
--url https://corpus-api.onera.app/us/search \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"query": "<string>"
}
'import requests
url = "https://corpus-api.onera.app/us/search"
payload = { "query": "<string>" }
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>'})
};
fetch('https://corpus-api.onera.app/us/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"accession_number": "<string>",
"ticker": "<string>",
"cik": "<string>",
"filing_type": "<string>",
"item_number": "<string>",
"item_name": "<string>",
"snippet": "<string>",
"source_offsets": {}
}
],
"meta": {
"count": 123,
"limit": 123,
"offset": 123,
"next_offset": 123,
"as_of": "2023-11-07T05:31:56Z",
"normalization_version": "<string>",
"provenance": {}
}
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}Authorizations
Provisioned Corpus API key with the required jurisdiction and operation scopes.
Body
application/json
⌘I
Us Search
curl --request POST \
--url https://corpus-api.onera.app/us/search \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"query": "<string>"
}
'import requests
url = "https://corpus-api.onera.app/us/search"
payload = { "query": "<string>" }
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>'})
};
fetch('https://corpus-api.onera.app/us/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"accession_number": "<string>",
"ticker": "<string>",
"cik": "<string>",
"filing_type": "<string>",
"item_number": "<string>",
"item_name": "<string>",
"snippet": "<string>",
"source_offsets": {}
}
],
"meta": {
"count": 123,
"limit": 123,
"offset": 123,
"next_offset": 123,
"as_of": "2023-11-07T05:31:56Z",
"normalization_version": "<string>",
"provenance": {}
}
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"request_id": "<string>"
}