finance.filings.search
Search SEC EDGAR filings by ticker / CIK, form type, date window or full text. Returns a normalized Filing page, most recent first.
curl --request POST \
--url https://api.agentkey.app/v2/ops/finance.filings.search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cik": "<string>",
"cursor": "<string>",
"end": "2023-12-25",
"fields": [
"<string>"
],
"form_type": "<string>",
"include_raw": false,
"limit": 20,
"provider": "<string>",
"query": "<string>",
"routing": {
"allow_fallbacks": true,
"only": [
"<string>"
],
"order": [
"<string>"
],
"strategy": "auto"
},
"start": "2023-12-25",
"symbol": "<string>"
}
'import requests
url = "https://api.agentkey.app/v2/ops/finance.filings.search"
payload = {
"cik": "<string>",
"cursor": "<string>",
"end": "2023-12-25",
"fields": ["<string>"],
"form_type": "<string>",
"include_raw": False,
"limit": 20,
"provider": "<string>",
"query": "<string>",
"routing": {
"allow_fallbacks": True,
"only": ["<string>"],
"order": ["<string>"],
"strategy": "auto"
},
"start": "2023-12-25",
"symbol": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
cik: '<string>',
cursor: '<string>',
end: '2023-12-25',
fields: ['<string>'],
form_type: '<string>',
include_raw: false,
limit: 20,
provider: '<string>',
query: '<string>',
routing: {
allow_fallbacks: true,
only: ['<string>'],
order: ['<string>'],
strategy: 'auto'
},
start: '2023-12-25',
symbol: '<string>'
})
};
fetch('https://api.agentkey.app/v2/ops/finance.filings.search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agentkey.app/v2/ops/finance.filings.search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cik' => '<string>',
'cursor' => '<string>',
'end' => '2023-12-25',
'fields' => [
'<string>'
],
'form_type' => '<string>',
'include_raw' => false,
'limit' => 20,
'provider' => '<string>',
'query' => '<string>',
'routing' => [
'allow_fallbacks' => true,
'only' => [
'<string>'
],
'order' => [
'<string>'
],
'strategy' => 'auto'
],
'start' => '2023-12-25',
'symbol' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.agentkey.app/v2/ops/finance.filings.search"
payload := strings.NewReader("{\n \"cik\": \"<string>\",\n \"cursor\": \"<string>\",\n \"end\": \"2023-12-25\",\n \"fields\": [\n \"<string>\"\n ],\n \"form_type\": \"<string>\",\n \"include_raw\": false,\n \"limit\": 20,\n \"provider\": \"<string>\",\n \"query\": \"<string>\",\n \"routing\": {\n \"allow_fallbacks\": true,\n \"only\": [\n \"<string>\"\n ],\n \"order\": [\n \"<string>\"\n ],\n \"strategy\": \"auto\"\n },\n \"start\": \"2023-12-25\",\n \"symbol\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.agentkey.app/v2/ops/finance.filings.search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cik\": \"<string>\",\n \"cursor\": \"<string>\",\n \"end\": \"2023-12-25\",\n \"fields\": [\n \"<string>\"\n ],\n \"form_type\": \"<string>\",\n \"include_raw\": false,\n \"limit\": 20,\n \"provider\": \"<string>\",\n \"query\": \"<string>\",\n \"routing\": {\n \"allow_fallbacks\": true,\n \"only\": [\n \"<string>\"\n ],\n \"order\": [\n \"<string>\"\n ],\n \"strategy\": \"auto\"\n },\n \"start\": \"2023-12-25\",\n \"symbol\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentkey.app/v2/ops/finance.filings.search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cik\": \"<string>\",\n \"cursor\": \"<string>\",\n \"end\": \"2023-12-25\",\n \"fields\": [\n \"<string>\"\n ],\n \"form_type\": \"<string>\",\n \"include_raw\": false,\n \"limit\": 20,\n \"provider\": \"<string>\",\n \"query\": \"<string>\",\n \"routing\": {\n \"allow_fallbacks\": true,\n \"only\": [\n \"<string>\"\n ],\n \"order\": [\n \"<string>\"\n ],\n \"strategy\": \"auto\"\n },\n \"start\": \"2023-12-25\",\n \"symbol\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"credits_charged": 123,
"data": {
"items": [
{
"cik": "<string>",
"company": "<string>",
"description": "<string>",
"filed_at": "2023-11-07T05:31:56Z",
"form_type": "<string>",
"id": "<string>",
"period": "2023-12-25",
"sections": [
{
"item": "<string>",
"text": "<string>"
}
],
"symbol": "<string>",
"text": "<string>",
"url": "<string>"
}
],
"next_cursor": "<string>"
},
"op": "<string>",
"op_version": 123,
"provider": "<string>",
"request_id": "<string>",
"took_ms": 123,
"unsupported_fields": [
"<string>"
],
"raw": "<unknown>",
"raw_truncated": true
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}Authorizations
AgentKey API key (ak_…).
Body
Filer CIK, with or without zero padding (320193).
Opaque pagination cursor from the previous response's next_cursor. Send the same query parameters with it.
Latest filing date, YYYY-MM-DD.
Projection: keep only these dotted paths of data, e.g. ["items.id", "items.text"].
Form type, exact and uppercase: 10-K, 10-Q, 8-K, 4, DEF 14A, S-1.
Attach the raw upstream payload as raw (not a stable contract; truncated above 256 KB).
Maximum number of filings to return.
1 <= x <= 50Shorthand for routing.only = [provider].
Full-text search phrase (climate risk, "supply chain" AND China). Routes to the SEC full-text engine; combine with cik rather than symbol.
Provider routing override. order: try these providers first; only: restrict to these (equivalent to pinning); allow_fallbacks: false tries only the first eligible provider.
Show child attributes
Show child attributes
Earliest filing date, YYYY-MM-DD.
Filer ticker (AAPL).
Response
Success envelope
Success envelope whose data is a FilingPage.
Show child attributes
Show child attributes
Credits charged for this call (the method's fixed price).
One page of filings, most recent first.
Show child attributes
Show child attributes
Method name.
Method version that served the call.
Provider that actually served the call.
Correlation id; quote it in support requests.
Output paths this provider structurally does not supply; such fields are null for a different reason than 'missing on this record'.
Upstream payload, only with include_raw=true. Not a stable contract.
curl --request POST \
--url https://api.agentkey.app/v2/ops/finance.filings.search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cik": "<string>",
"cursor": "<string>",
"end": "2023-12-25",
"fields": [
"<string>"
],
"form_type": "<string>",
"include_raw": false,
"limit": 20,
"provider": "<string>",
"query": "<string>",
"routing": {
"allow_fallbacks": true,
"only": [
"<string>"
],
"order": [
"<string>"
],
"strategy": "auto"
},
"start": "2023-12-25",
"symbol": "<string>"
}
'import requests
url = "https://api.agentkey.app/v2/ops/finance.filings.search"
payload = {
"cik": "<string>",
"cursor": "<string>",
"end": "2023-12-25",
"fields": ["<string>"],
"form_type": "<string>",
"include_raw": False,
"limit": 20,
"provider": "<string>",
"query": "<string>",
"routing": {
"allow_fallbacks": True,
"only": ["<string>"],
"order": ["<string>"],
"strategy": "auto"
},
"start": "2023-12-25",
"symbol": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
cik: '<string>',
cursor: '<string>',
end: '2023-12-25',
fields: ['<string>'],
form_type: '<string>',
include_raw: false,
limit: 20,
provider: '<string>',
query: '<string>',
routing: {
allow_fallbacks: true,
only: ['<string>'],
order: ['<string>'],
strategy: 'auto'
},
start: '2023-12-25',
symbol: '<string>'
})
};
fetch('https://api.agentkey.app/v2/ops/finance.filings.search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agentkey.app/v2/ops/finance.filings.search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cik' => '<string>',
'cursor' => '<string>',
'end' => '2023-12-25',
'fields' => [
'<string>'
],
'form_type' => '<string>',
'include_raw' => false,
'limit' => 20,
'provider' => '<string>',
'query' => '<string>',
'routing' => [
'allow_fallbacks' => true,
'only' => [
'<string>'
],
'order' => [
'<string>'
],
'strategy' => 'auto'
],
'start' => '2023-12-25',
'symbol' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.agentkey.app/v2/ops/finance.filings.search"
payload := strings.NewReader("{\n \"cik\": \"<string>\",\n \"cursor\": \"<string>\",\n \"end\": \"2023-12-25\",\n \"fields\": [\n \"<string>\"\n ],\n \"form_type\": \"<string>\",\n \"include_raw\": false,\n \"limit\": 20,\n \"provider\": \"<string>\",\n \"query\": \"<string>\",\n \"routing\": {\n \"allow_fallbacks\": true,\n \"only\": [\n \"<string>\"\n ],\n \"order\": [\n \"<string>\"\n ],\n \"strategy\": \"auto\"\n },\n \"start\": \"2023-12-25\",\n \"symbol\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.agentkey.app/v2/ops/finance.filings.search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cik\": \"<string>\",\n \"cursor\": \"<string>\",\n \"end\": \"2023-12-25\",\n \"fields\": [\n \"<string>\"\n ],\n \"form_type\": \"<string>\",\n \"include_raw\": false,\n \"limit\": 20,\n \"provider\": \"<string>\",\n \"query\": \"<string>\",\n \"routing\": {\n \"allow_fallbacks\": true,\n \"only\": [\n \"<string>\"\n ],\n \"order\": [\n \"<string>\"\n ],\n \"strategy\": \"auto\"\n },\n \"start\": \"2023-12-25\",\n \"symbol\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentkey.app/v2/ops/finance.filings.search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cik\": \"<string>\",\n \"cursor\": \"<string>\",\n \"end\": \"2023-12-25\",\n \"fields\": [\n \"<string>\"\n ],\n \"form_type\": \"<string>\",\n \"include_raw\": false,\n \"limit\": 20,\n \"provider\": \"<string>\",\n \"query\": \"<string>\",\n \"routing\": {\n \"allow_fallbacks\": true,\n \"only\": [\n \"<string>\"\n ],\n \"order\": [\n \"<string>\"\n ],\n \"strategy\": \"auto\"\n },\n \"start\": \"2023-12-25\",\n \"symbol\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"credits_charged": 123,
"data": {
"items": [
{
"cik": "<string>",
"company": "<string>",
"description": "<string>",
"filed_at": "2023-11-07T05:31:56Z",
"form_type": "<string>",
"id": "<string>",
"period": "2023-12-25",
"sections": [
{
"item": "<string>",
"text": "<string>"
}
],
"symbol": "<string>",
"text": "<string>",
"url": "<string>"
}
],
"next_cursor": "<string>"
},
"op": "<string>",
"op_version": 123,
"provider": "<string>",
"request_id": "<string>",
"took_ms": 123,
"unsupported_fields": [
"<string>"
],
"raw": "<unknown>",
"raw_truncated": true
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}{
"code": 123,
"error": "<string>",
"error_type": "<string>",
"attempts": [
{
"provider": "<string>",
"status": 123,
"took_ms": 123,
"tool": "<string>",
"error_type": "<string>",
"refunded": true,
"upstream_status": 123
}
],
"op": "<string>",
"request_id": "<string>"
}