Public Data

Open data and live checks, each one simple to call: DNS records, an email security check and the SSL certificate of a domain, exchange rates from the European Central Bank, research papers, Wikipedia and Wikidata, and US company filings from SEC EDGAR. They run like every other Chab tool: start one with a POST (or chab_operation_start over MCP), then read the result. Add ?wait=20 to the start to get the result in the same reply.

Each result names its source. Some sources ask for that: keep the source object (name, link and license) with the data when you show or share it. Wikipedia text is CC BY-SA 4.0, so link to the article and name the license. ECB rates name the ECB as the source; the ECB publishes them free of charge. OpenAlex, arXiv metadata and Wikidata are CC0, and SEC EDGAR data is public. Paper tools return metadata only: no abstracts and no paper files.

This page is generated from the tool definitions, so the fields, prices and examples below are exactly what the API accepts.

Tool Operation key Endpoint
DNS records seo.domains.dns POST /v1/seo/domains/dns
Email security check seo.domains.email_security POST /v1/seo/domains/email-security
SSL certificate seo.domains.ssl POST /v1/seo/domains/ssl
Exchange rates search.exchange_rates POST /v1/search/exchange-rates
Exchange rate history search.exchange_rate_history POST /v1/search/exchange-rate-history
Research paper search search.papers POST /v1/search/papers
Research paper details search.paper_details POST /v1/search/paper-details
Wikipedia search search.wikipedia POST /v1/search/wikipedia
Wikipedia article search.wikipedia_page POST /v1/search/wikipedia-page
Wikidata facts search.wikidata POST /v1/search/wikidata
SEC company lookup search.sec_companies POST /v1/search/sec-companies
SEC filings search.sec_filings POST /v1/search/sec-filings
SEC financials search.sec_financials POST /v1/search/sec-financials

Prices

Tool Price Free credits
DNS records 1 credit Yes
Email security check 2 credits Yes
SSL certificate 1 credit Yes
Exchange rates 1 credit Yes
Exchange rate history 2 credits Yes
Research paper search 1 credit Yes
Research paper details 1 credit Yes
Wikipedia search 1 credit Yes
Wikipedia article 1 credit Yes
Wikidata facts 1 credit Yes
SEC company lookup 1 credit Yes
SEC filings 2 credits Yes
SEC financials 2 credits Yes

The price is reserved when the tool starts and charged when it succeeds. A failed call costs nothing, and so does a lookup that finds nothing (an unknown DOI, ticker or page).

POST/v1/seo/domains/dns

DNS records. Looks up the DNS records of a domain or any host name, live. Each record comes with its type, name, value and TTL, plus the MX priority, the CAA tag or the SOA timers. Ask for some record types only with types.

Operation key seo.domains.dns, scope api:seo:read, price: 1 credit.

Source: Live DNS lookups by Chab.

Request

Field Type Required Description
domain string Yes The domain or host name, for example python.org or www.python.org.
types array of strings No Record types to look up. Default: all eight. Up to 8.
{
    "domain": "python.org"
}
curl -X POST https://www.chab.ai/v1/seo/domains/dns \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: seo-domains-dns-001" \
  -d '{"domain":"python.org"}'

Result

{
    "domain": "python.org",
    "records": [
        {
            "type": "A",
            "name": "python.org",
            "ttl": 240,
            "value": "151.101.64.223"
        },
        {
            "type": "A",
            "name": "python.org",
            "ttl": 240,
            "value": "151.101.128.223"
        },
        {
            "type": "AAAA",
            "name": "python.org",
            "ttl": 208,
            "value": "2a04:4e42::223"
        },
        {
            "type": "AAAA",
            "name": "python.org",
            "ttl": 208,
            "value": "2a04:4e42:400::223"
        },
        {
            "type": "MX",
            "name": "python.org",
            "ttl": 16,
            "value": "mail.python.org",
            "priority": 50
        },
        {
            "type": "NS",
            "name": "python.org",
            "ttl": 6778,
            "value": "ns-2046.awsdns-63.co.uk"
        },
        {
            "type": "NS",
            "name": "python.org",
            "ttl": 6778,
            "value": "ns-981.awsdns-58.net"
        },
        {
            "type": "TXT",
            "name": "python.org",
            "ttl": 300,
            "value": "twilio-domain-verification=1c295667813cc0aaae819ed7657818f8"
        },
        {
            "type": "TXT",
            "name": "python.org",
            "ttl": 300,
            "value": "v=spf1 mx ip4:188.166.95.178/32 ip6:2a03:b0c0:2:d0::71:1 include:stspg-customer.com include:_spf.google.com include:mailgun.org ~all"
        },
        {
            "type": "SOA",
            "name": "python.org",
            "ttl": 900,
            "value": "ns-2046.awsdns-63.co.uk awsdns-hostmaster.amazon.com 1 7200 900 1209600 86400",
            "admin": "awsdns-hostmaster.amazon.com",
            "expire": 1209600,
            "minimum_ttl": 86400,
            "primary_name_server": "ns-2046.awsdns-63.co.uk",
            "refresh": 7200,
            "retry": 900,
            "serial": 1
        }
    ],
    "types_checked": [
        "A",
        "AAAA",
        "CNAME",
        "MX",
        "NS",
        "TXT",
        "CAA",
        "SOA"
    ],
    "fetched_at": "2026-11-16T11:40:49+00:00"
}

POST/v1/seo/domains/email-security

Email security check. Reads the mail records of a domain from DNS and explains them: the MX servers, the SPF record with the DNS lookups it needs (the limit is 10), the DMARC policy, DKIM keys for the selectors you give (or ten common ones), the MTA-STS policy, TLS reporting and BIMI. problems lists what is missing or weak in plain words.

Operation key seo.domains.email_security, scope api:seo:read, price: 2 credits.

Source: Live DNS lookups by Chab, and the MTA-STS policy file from the domain over HTTPS.

Request

Field Type Required Description
domain string Yes The email domain, for example stripe.com.
dkim_selectors array of strings No DKIM selectors to check, for example google or selector1. Default: ten common ones. The selector of a mail is the s= value in its DKIM-Signature header. Up to 20.
{
    "domain": "stripe.com"
}
curl -X POST https://www.chab.ai/v1/seo/domains/email-security \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: seo-domains-email-security-001" \
  -d '{"domain":"stripe.com"}'

Result

{
    "domain": "stripe.com",
    "mx": {
        "records": [
            {
                "host": "aspmx.l.google.com",
                "priority": 10
            },
            {
                "host": "alt2.aspmx.l.google.com",
                "priority": 20
            }
        ],
        "accepts_mail": true,
        "null_mx": false
    },
    "spf": {
        "found": true,
        "record": "v=spf1 ip4:198.2.180.60/32 ip4:13.111.2.227/32 include:spf1.stripe.com include:greenhouse-outbound-mail.stripe.com include:_spf.qualtrics.com ~all",
        "policy": "softfail",
        "mechanisms": [
            {
                "qualifier": "+",
                "type": "ip4",
                "value": "198.2.180.60/32"
            },
            {
                "qualifier": "+",
                "type": "ip4",
                "value": "13.111.2.227/32"
            },
            {
                "qualifier": "+",
                "type": "include",
                "value": "spf1.stripe.com"
            },
            {
                "qualifier": "+",
                "type": "include",
                "value": "greenhouse-outbound-mail.stripe.com"
            },
            {
                "qualifier": "+",
                "type": "include",
                "value": "_spf.qualtrics.com"
            },
            {
                "qualifier": "~",
                "type": "all",
                "value": null
            }
        ],
        "dns_lookups": 7,
        "too_many_lookups": false
    },
    "dmarc": {
        "found": true,
        "record": "v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:[email protected]; ruf=mailto:[email protected];",
        "found_at": "_dmarc.stripe.com",
        "policy": "reject",
        "percent": 100,
        "reports_to": [
            "[email protected]"
        ],
        "failure_reports_to": [
            "[email protected]"
        ],
        "dkim_alignment": "relaxed",
        "spf_alignment": "relaxed"
    },
    "dkim": {
        "selectors_checked": [
            "google",
            "selector1",
            "selector2",
            "k1",
            "s1",
            "s2",
            "default",
            "dkim",
            "mail",
            "smtp"
        ],
        "keys": [
            {
                "selector": "google",
                "key_type": "rsa",
                "key_bits": 1024,
                "revoked": false,
                "testing": false
            },
            {
                "selector": "s1",
                "key_type": "rsa",
                "key_bits": 1024,
                "revoked": false,
                "testing": false
            }
        ],
        "note": "DKIM keys can only be found by their selector. These are common ones; a key under another selector is not listed. The selector is in the DKIM-Signature header (s=) of a mail from the domain."
    },
    "mta_sts": {
        "found": false
    },
    "tls_rpt": {
        "found": false
    },
    "bimi": {
        "found": false
    },
    "problems": [
        "The DKIM key google has 1024 bits. 2048 bits is safer.",
        "The DKIM key s1 has 1024 bits. 2048 bits is safer.",
        "The DKIM key s2 has 1024 bits. 2048 bits is safer.",
        "No MTA-STS policy, so other mail servers may deliver to this domain without TLS."
    ],
    "fetched_at": "2026-11-16T11:41:21+00:00"
}

POST/v1/seo/domains/ssl

SSL certificate. Connects to the host on port 443 and reads the certificate it presents: subject, issuer, the names it covers, valid from and to, days left, key, fingerprint and the chain, plus the TLS protocol and cipher. trusted says whether it passes a browser's checks; when it does not, problems says why (expired, wrong name, self-signed or an unknown issuer). Private and internal addresses are refused.

Operation key seo.domains.ssl, scope api:seo:read, price: 1 credit.

Source: A live TLS connection by Chab.

Request

Field Type Required Description
host string Yes The host name, for example www.python.org.
{
    "host": "www.python.org"
}
curl -X POST https://www.chab.ai/v1/seo/domains/ssl \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: seo-domains-ssl-001" \
  -d '{"host":"www.python.org"}'

Result

{
    "host": "www.python.org",
    "ip": "151.101.0.223",
    "port": 443,
    "trusted": true,
    "problems": [],
    "protocol": "TLSv1.3",
    "cipher": "TLS_AES_128_GCM_SHA256",
    "certificate": {
        "subject": {
            "common_name": "www.python.org"
        },
        "issuer": {
            "common_name": "GlobalSign Atlas R3 DV TLS CA 2025 Q4",
            "organization": "GlobalSign nv-sa",
            "country": "BE"
        },
        "names": [
            "www.python.org",
            "*.python.org",
            "python.org"
        ],
        "matches_host": true,
        "valid_from": "2026-01-13T13:03:46Z",
        "valid_to": "2027-02-14T13:03:45Z",
        "days_left": 90,
        "expired": false,
        "serial_number": "01FC68FD084537B393B8D6C708974969",
        "signature_algorithm": "RSA-SHA256",
        "key": {
            "type": "RSA",
            "bits": 2048
        },
        "sha256_fingerprint": "a162964cfe4209e308f700e88028757eb83d227b2bb35f67f186a6e70e1e201a"
    },
    "chain": [
        {
            "subject": {
                "common_name": "GlobalSign Atlas R3 DV TLS CA 2025 Q4",
                "organization": "GlobalSign nv-sa",
                "country": "BE"
            },
            "issuer": {
                "common_name": "GlobalSign",
                "organization": "GlobalSign",
                "organizational_unit": "GlobalSign Root CA - R3"
            },
            "valid_to": "2027-07-16T00:00:00Z"
        }
    ],
    "fetched_at": "2026-11-16T11:41:31+00:00"
}

POST/v1/search/exchange-rates

Exchange rates. The ECB's euro foreign exchange reference rates for about 30 currencies: the latest day, or the last day with rates on or before date. Pick a base other than EUR and the rates are worked out from the euro rates. The result names the ECB as the source, as its terms ask.

Operation key search.exchange_rates, scope api:search:read, price: 1 credit.

Source: European Central Bank, euro foreign exchange reference rates (data.ecb.europa.eu). Free to reuse with the ECB named as the source; the ECB publishes them free of charge.

Request

Field Type Required Description
base string No The currency the rates are for, as a three-letter code. Default EUR; another base is worked out from the euro rates. Default "EUR".
currencies array of strings No Currencies to return, as three-letter codes. Default: all the ECB publishes. Up to 40.
date string No A past day, as YYYY-MM-DD. Default: the latest rates. Weekends and holidays give the day before.
{
    "base": "USD",
    "currencies": [
        "EUR",
        "GBP",
        "JPY"
    ]
}
curl -X POST https://www.chab.ai/v1/search/exchange-rates \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-exchange-rates-001" \
  -d '{"base":"USD","currencies":["EUR","GBP","JPY"]}'

Result

{
    "base": "USD",
    "date": "2026-11-13",
    "rates": {
        "EUR": 0.904814,
        "GBP": 0.756053,
        "JPY": 159.998
    },
    "notes": [
        "The ECB sets these reference rates once a day, around 16:00 Frankfurt time, on working days. They are for information, not for trading.",
        "Rates against USD are worked out by Chab from the ECB's euro rates."
    ],
    "source": {
        "name": "European Central Bank (ECB), euro foreign exchange reference rates",
        "url": "https://data.ecb.europa.eu/data/datasets/EXR",
        "license": "Source: ECB. The ECB publishes these rates free of charge on its website, data.ecb.europa.eu."
    },
    "fetched_at": "2026-11-16T11:41:41+00:00"
}

POST/v1/search/exchange-rate-history

Exchange rate history. The ECB's reference rates of up to 10 currencies for each working day from start_date to end_date (up to three years), or the monthly averages for any range since 1999. Another base than EUR is worked out from the euro rates.

Operation key search.exchange_rate_history, scope api:search:read, price: 2 credits.

Source: European Central Bank, euro foreign exchange reference rates (data.ecb.europa.eu). Free to reuse with the ECB named as the source; the ECB publishes them free of charge.

Request

Field Type Required Description
base string No The currency the rates are for, as a three-letter code. Default EUR; another base is worked out from the euro rates. Default "EUR".
currencies array of strings Yes Currencies to return, as three-letter codes. Up to 10.
start_date string Yes The first day, as YYYY-MM-DD.
end_date string No The last day, as YYYY-MM-DD. Default: today.
frequency string No Daily rates, or monthly averages. One of daily, monthly. Default "daily".
{
    "currencies": [
        "USD",
        "GBP"
    ],
    "start_date": "2026-11-02",
    "end_date": "2026-11-06"
}
curl -X POST https://www.chab.ai/v1/search/exchange-rate-history \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-exchange-rate-history-001" \
  -d '{"currencies":["USD","GBP"],"start_date":"2026-11-02","end_date":"2026-11-06"}'

Result

{
    "base": "EUR",
    "frequency": "daily",
    "start_date": "2026-11-02",
    "end_date": "2026-11-06",
    "series": [
        {
            "date": "2026-11-02",
            "rates": {
                "GBP": 0.8358,
                "USD": 1.1216
            }
        },
        {
            "date": "2026-11-03",
            "rates": {
                "GBP": 0.83358,
                "USD": 1.1179
            }
        },
        {
            "date": "2026-11-04",
            "rates": {
                "GBP": 0.8346,
                "USD": 1.1267
            }
        },
        {
            "date": "2026-11-05",
            "rates": {
                "GBP": 0.83393,
                "USD": 1.1224
            }
        },
        {
            "date": "2026-11-06",
            "rates": {
                "GBP": 0.83415,
                "USD": 1.1165
            }
        }
    ],
    "notes": [
        "The ECB sets these reference rates once a day, around 16:00 Frankfurt time, on working days. They are for information, not for trading."
    ],
    "source": {
        "name": "European Central Bank (ECB), euro foreign exchange reference rates",
        "url": "https://data.ecb.europa.eu/data/datasets/EXR",
        "license": "Source: ECB. The ECB publishes these rates free of charge on its website, data.ecb.europa.eu."
    },
    "fetched_at": "2026-11-16T11:41:53+00:00"
}

POST/v1/search/papers

Research paper search. Searches about 250 million scholarly works in OpenAlex by title, abstract and full text, or arXiv preprints with source: "arxiv". Each paper comes with its authors, year, journal or venue, DOI, citation count and an open access link when there is one. Sort by relevance, citations or newest, and filter by year or open access. Metadata only: no abstracts or paper files.

Operation key search.papers, scope api:search:read, price: 1 credit.

Source: OpenAlex (CC0); arXiv metadata (CC0). When OpenAlex is busy, Crossref metadata answers instead.

Request

Field Type Required Description
query string Yes What to search for, for example "retrieval augmented generation".
limit integer No Up to 50 papers. From 1 to 50. Default 10.
sort string No The order of the papers. One of relevance, citations, newest. Default "relevance".
from_year integer No Only papers from this year on. From 1900 to 2100.
to_year integer No Only papers up to this year. From 1900 to 2100.
open_access_only boolean No Only papers that are free to read. Default false.
source string No Search all scholarly works, or arXiv preprints only (newest first with sort newest). One of all, arxiv. Default "all".
{
    "query": "retrieval augmented generation",
    "limit": 2
}
curl -X POST https://www.chab.ai/v1/search/papers \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-papers-001" \
  -d '{"query":"retrieval augmented generation","limit":2}'

Result

{
    "query": "retrieval augmented generation",
    "total": 220257,
    "results": [
        {
            "title": "Corrective Retrieval Augmented Generation",
            "authors": [
                "Shi-Qi Yan",
                "Jia-Chen Gu",
                "Yun Zhu"
            ],
            "author_count": 4,
            "year": 2026,
            "date": "2026-01-01",
            "venue": "Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026",
            "type": "conference-paper",
            "doi": "10.18653/2026.findings-aacl.151",
            "citations": 728,
            "open_access": true,
            "open_access_url": "https://aclanthology.org/2026.findings-aacl.151.pdf",
            "url": "https://doi.org/10.18653/2026.findings-aacl.151",
            "openalex_id": "W4410705984"
        },
        {
            "title": "Graph Retrieval-Augmented Generation: A Survey",
            "authors": [
                "Boci Peng",
                "Yun Zhu",
                "Yongchao Liu"
            ],
            "author_count": 8,
            "year": 2025,
            "date": "2025-11-19",
            "venue": "ACM Transactions on Information Systems",
            "type": "article",
            "doi": "10.1145/3777378",
            "citations": 722,
            "open_access": true,
            "open_access_url": "https://arxiv.org/pdf/2408.08921",
            "url": "https://doi.org/10.1145/3777378",
            "openalex_id": "W4416379250"
        }
    ],
    "source": {
        "name": "OpenAlex",
        "url": "https://openalex.org",
        "license": "OpenAlex data is CC0 (public domain)."
    },
    "fetched_at": "2026-11-16T11:42:05+00:00"
}

POST/v1/search/paper-details

Research paper details. Looks up one work by its DOI in OpenAlex and Crossref and returns its metadata: title, authors with their ORCID and affiliations, date, journal, publisher, volume and pages, citation and reference counts, open access status and link, licenses, topics and funders. Metadata only: no abstract and no paper file.

Operation key search.paper_details, scope api:search:read, price: 1 credit.

Source: OpenAlex (CC0) and Crossref metadata. Abstracts are left out: they keep their publishers' copyright.

Request

Field Type Required Description
doi string Yes The DOI, for example 10.1038/s41586-021-03819-2, or a doi.org link.
{
    "doi": "10.1038/s41586-021-03819-2"
}
curl -X POST https://www.chab.ai/v1/search/paper-details \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-paper-details-001" \
  -d '{"doi":"10.1038/s41586-021-03819-2"}'

Result

{
    "doi": "10.1038/s41586-021-03819-2",
    "paper": {
        "title": "Highly accurate protein structure prediction with AlphaFold",
        "authors": [
            {
                "name": "John Jumper",
                "orcid": "https://orcid.org/0000-0001-6169-6580"
            },
            {
                "name": "Richard Evans"
            },
            {
                "name": "Alexander Pritzel"
            }
        ],
        "author_count": 34,
        "year": 2021,
        "date": "2021-07-15",
        "venue": "Nature",
        "publisher": "Springer Science and Business Media LLC",
        "type": "journal-article",
        "volume": "596",
        "issue": "7873",
        "pages": "583-589",
        "issn": [
            "0028-0836",
            "1476-4687"
        ],
        "language": "en",
        "citations": 46464,
        "references": 85,
        "open_access": true,
        "open_access_status": "hybrid",
        "open_access_url": "https://www.nature.com/articles/s41586-021-03819-2.pdf",
        "licenses": [
            "https://creativecommons.org/licenses/by/4.0",
            "cc-by"
        ],
        "topics": [
            "Protein Structure and Dynamics",
            "Machine Learning in Bioinformatics",
            "Enzyme Structure and Function"
        ],
        "funders": [
            "DeepMind",
            "National Research Foundation",
            "Seoul National University",
            "National Research Foundation of Korea"
        ],
        "is_retracted": false,
        "url": "https://doi.org/10.1038/s41586-021-03819-2",
        "openalex_id": "W3177828909"
    },
    "source": {
        "name": "OpenAlex and Crossref",
        "url": "https://openalex.org",
        "license": "OpenAlex data is CC0 (public domain). Crossref metadata is free to reuse. Abstracts are left out: they keep their publishers' copyright."
    },
    "fetched_at": "2026-11-16T11:42:16+00:00"
}

POST/v1/search/wikipedia

Wikipedia search. Searches one Wikipedia language edition and returns the matching articles with their short description, a snippet and the link. Wikipedia text is CC BY-SA 4.0: link to the article and name the license when you reuse it.

Operation key search.wikipedia, scope api:search:read, price: 1 credit.

Source: Wikipedia, CC BY-SA 4.0.

Request

Field Type Required Description
query string Yes What to search for, for example "python programming language".
language string No The Wikipedia language edition, for example en, de or fr. Default "en".
limit integer No Up to 50 articles. From 1 to 50. Default 10.
{
    "query": "python programming language",
    "limit": 3
}
curl -X POST https://www.chab.ai/v1/search/wikipedia \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-wikipedia-001" \
  -d '{"query":"python programming language","limit":3}'

Result

{
    "query": "python programming language",
    "language": "en",
    "results": [
        {
            "title": "Python (programming language)",
            "description": "General-purpose programming language",
            "snippet": "and garbage collection. Python supports multiple programming paradigms but with an emphasis on object-oriented programming and dynamic typing. Guido",
            "url": "https://en.wikipedia.org/wiki/Python_(programming_language)",
            "page_id": 23862
        },
        {
            "title": "Outline of the Python programming language",
            "description": "Overview of and topical guide to Python",
            "snippet": "functional programming. ABC (programming language) – precursor to Python Python was started by Guido van Rossum in 1989 and first released in 1991. Python 2 —",
            "url": "https://en.wikipedia.org/wiki/Outline_of_the_Python_programming_language",
            "page_id": 81118035
        }
    ],
    "source": {
        "name": "Wikipedia",
        "url": "https://en.wikipedia.org",
        "license": "Text from Wikipedia is available under CC BY-SA 4.0. Link to the page and name the license when you reuse it.",
        "license_url": "https://creativecommons.org/licenses/by-sa/4.0/"
    },
    "fetched_at": "2026-11-16T11:42:38+00:00"
}

POST/v1/search/wikipedia-page

Wikipedia article. Reads one Wikipedia article by its title or link: the short description and summary, or the whole text as plain text with content: "full" (up to 200,000 characters). It also gives the Wikidata ID for facts. Every result carries the article link, the CC BY-SA 4.0 license and an attribution line to keep with the text.

Operation key search.wikipedia_page, scope api:search:read, price: 1 credit.

Source: Wikipedia, CC BY-SA 4.0.

Request

Field Type Required Description
title string Yes The article title, for example "Python (programming language)", or its Wikipedia link.
language string No The Wikipedia language edition, for example en, de or fr. Default "en".
content string No The summary only, or the full text too. One of summary, full. Default "summary".
{
    "title": "Python (programming language)"
}
curl -X POST https://www.chab.ai/v1/search/wikipedia-page \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-wikipedia-page-001" \
  -d '{"title":"Python (programming language)"}'

Result

{
    "title": "Python (programming language)",
    "language": "en",
    "page": {
        "title": "Python (programming language)",
        "description": "General-purpose programming language",
        "summary": "Python is a high-level, general-purpose programming language that emphasizes code readability, simplicity, and ease-of-writing with the use of significant indentation, an extensive (\"batteries-included\") standard library, and garbage collection. Python supports multiple programming paradigms but with an emphasis on object-oriented programming and dynamic typing.",
        "url": "https://en.wikipedia.org/wiki/Python_(programming_language)",
        "language": "en",
        "is_disambiguation": false,
        "wikidata_id": "Q28865",
        "last_edited": "2026-11-16T10:27:19Z"
    },
    "source": {
        "name": "Wikipedia",
        "url": "https://en.wikipedia.org/wiki/Python_(programming_language)",
        "license": "CC BY-SA 4.0",
        "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
        "history_url": "https://en.wikipedia.org/wiki/Python_(programming_language)?action=history",
        "attribution": "From the Wikipedia article \"Python (programming language)\" (https://en.wikipedia.org/wiki/Python_(programming_language)), by its editors, under CC BY-SA 4.0."
    },
    "fetched_at": "2026-11-16T11:42:47+00:00"
}

POST/v1/search/wikidata

Wikidata facts. Finds an entity in Wikidata by name or by ID (such as Q7624104) and returns its label, description, aliases and its key facts: what it is, country and location, dates, founders and leaders, industry, employees, revenue, population, website and more, with the names of linked entities and the date of figures that change. Other matches for a name come back too. Wikidata is CC0.

Operation key search.wikidata, scope api:search:read, price: 1 credit.

Source: Wikidata, CC0.

Request

Field Type Required Description
entity string Yes A name, for example Stripe, or a Wikidata ID such as Q7624104.
language string No The language of labels, for example en or de. Default "en".
{
    "entity": "Stripe"
}
curl -X POST https://www.chab.ai/v1/search/wikidata \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-wikidata-001" \
  -d '{"entity":"Stripe"}'

Result

{
    "entity": {
        "id": "Q7624104",
        "label": "Stripe",
        "description": "Irish-American payment technology company",
        "url": "https://www.wikidata.org/wiki/Q7624104",
        "wikipedia_url": "https://en.wikipedia.org/wiki/Stripe,_Inc.",
        "facts": [
            {
                "property": "P31",
                "name": "instance of",
                "values": [
                    {
                        "id": "Q4830453",
                        "label": "business"
                    },
                    {
                        "id": "Q12738586",
                        "label": "payment processor"
                    }
                ]
            },
            {
                "property": "P17",
                "name": "country",
                "values": [
                    {
                        "id": "Q30",
                        "label": "United States"
                    }
                ]
            },
            {
                "property": "P571",
                "name": "inception",
                "values": [
                    "2010"
                ]
            },
            {
                "property": "P112",
                "name": "founded by",
                "values": [
                    {
                        "id": "Q7146257",
                        "label": "Patrick Collison"
                    },
                    {
                        "id": "Q16233063",
                        "label": "John Collison"
                    }
                ]
            },
            {
                "property": "P169",
                "name": "chief executive officer",
                "values": [
                    {
                        "id": "Q7146257",
                        "label": "Patrick Collison"
                    }
                ]
            },
            {
                "property": "P159",
                "name": "headquarters location",
                "values": [
                    {
                        "id": "Q62",
                        "label": "San Francisco"
                    },
                    {
                        "id": "Q927122",
                        "label": "South San Francisco"
                    }
                ]
            },
            {
                "property": "P452",
                "name": "industry",
                "values": [
                    {
                        "id": "Q837171",
                        "label": "financial services"
                    },
                    {
                        "id": "Q97466005",
                        "label": "mobile payment industry"
                    }
                ]
            },
            {
                "property": "P1128",
                "name": "employees",
                "values": [
                    {
                        "as_of": "2020",
                        "value": {
                            "amount": 2500
                        }
                    },
                    {
                        "as_of": "2022",
                        "value": {
                            "amount": 8000
                        }
                    }
                ]
            },
            {
                "property": "P856",
                "name": "official website",
                "values": [
                    "https://stripe.com/"
                ]
            }
        ]
    },
    "other_matches": [
        {
            "description": "long, narrow band of color, often in alternating sets",
            "id": "Q3421342",
            "label": "stripe"
        },
        {
            "description": "fictional character in the Gremlins franchise",
            "id": "Q127900502",
            "label": "Stripe"
        },
        {
            "description": "South African progamer",
            "id": "Q117454382",
            "label": "Stripe"
        },
        {
            "description": "family of beetles",
            "id": "Q297115",
            "label": "Meloidae"
        }
    ],
    "source": {
        "name": "Wikidata",
        "url": "https://www.wikidata.org",
        "license": "Wikidata is CC0 (public domain)."
    },
    "fetched_at": "2026-11-16T11:42:57+00:00"
}

POST/v1/search/sec-companies

SEC company lookup. Finds companies with a stock ticker in the SEC's EDGAR list by ticker, name or CIK number. Each comes with its ticker, exchange, CIK and EDGAR link. Use the ticker or CIK with the SEC filings and financials tools.

Operation key search.sec_companies, scope api:search:read, price: 1 credit.

Source: U.S. Securities and Exchange Commission, EDGAR. Public data.

Request

Field Type Required Description
query string Yes A ticker (AAPL), a company name (Apple) or a CIK number.
limit integer No Up to 50 companies. From 1 to 50. Default 10.
{
    "query": "Apple",
    "limit": 3
}
curl -X POST https://www.chab.ai/v1/search/sec-companies \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-sec-companies-001" \
  -d '{"query":"Apple","limit":3}'

Result

{
    "query": "Apple",
    "results": [
        {
            "name": "Apple Inc.",
            "ticker": "AAPL",
            "exchange": "Nasdaq",
            "cik": "0000320193",
            "url": "https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193"
        },
        {
            "name": "Apple Hospitality REIT, Inc.",
            "ticker": "APLE",
            "exchange": "NYSE",
            "cik": "0001418121",
            "url": "https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0001418121"
        }
    ],
    "notes": [
        "Only companies with a stock ticker are in this list. Search by ticker, name or CIK number."
    ],
    "source": {
        "name": "U.S. Securities and Exchange Commission, EDGAR",
        "url": "https://www.sec.gov/edgar",
        "license": "EDGAR data is public information of the U.S. government. The SEC does not review or endorse this use of it."
    },
    "fetched_at": "2026-11-16T11:43:06+00:00"
}

POST/v1/search/sec-filings

SEC filings. The recent filings of a company in SEC EDGAR, newest first: form, filing date, report date, description, 8-K items and links to the document and the filing index. Filter by forms and from_date. The company facts come with it: name, tickers, exchanges, industry, fiscal year end and state of incorporation.

Operation key search.sec_filings, scope api:search:read, price: 2 credits.

Source: U.S. Securities and Exchange Commission, EDGAR. Public data.

Request

Field Type Required Description
company string Yes The company: its stock ticker (AAPL) or its SEC CIK number (320193).
forms array of strings No Only these forms, for example 10-K, 10-Q or 8-K. Up to 10.
from_date string No Only filings from this day on, as YYYY-MM-DD.
limit integer No Up to 100 filings. From 1 to 100. Default 20.
{
    "company": "AAPL",
    "forms": [
        "10-K",
        "10-Q"
    ],
    "limit": 3
}
curl -X POST https://www.chab.ai/v1/search/sec-filings \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-sec-filings-001" \
  -d '{"company":"AAPL","forms":["10-K","10-Q"],"limit":3}'

Result

{
    "company": {
        "name": "Apple Inc.",
        "cik": "0000320193",
        "tickers": [
            "AAPL"
        ],
        "exchanges": [
            "Nasdaq"
        ],
        "industry": "Electronic Computers",
        "sic": "3571",
        "category": "Large accelerated filer",
        "fiscal_year_end": "09-26",
        "state_of_incorporation": "CA"
    },
    "filings": [
        {
            "form": "10-K",
            "filed": "2026-11-03",
            "report_date": "2026-09-26",
            "description": "10-K",
            "accession_number": "0000320193-26-000026",
            "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/aapl-20260926.htm",
            "index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm",
            "xbrl": true
        },
        {
            "form": "10-Q",
            "filed": "2026-07-31",
            "report_date": "2026-06-27",
            "description": "10-Q",
            "accession_number": "0000320193-26-000020",
            "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/aapl-20260627.htm",
            "index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/0000320193-26-000020-index.htm",
            "xbrl": true
        }
    ],
    "source": {
        "name": "U.S. Securities and Exchange Commission, EDGAR",
        "url": "https://www.sec.gov/edgar",
        "license": "EDGAR data is public information of the U.S. government. The SEC does not review or endorse this use of it."
    },
    "fetched_at": "2026-11-16T11:43:16+00:00"
}

POST/v1/search/sec-financials

SEC financials. Key figures from the XBRL data of a company's 10-K reports (or 10-Q with period: "quarterly"): revenue, cost of revenue, gross profit, research and development, operating and net income, earnings per share, operating cash flow, capital expenditure, assets, liabilities, equity, cash and long-term debt, for the last limit periods. It also gives the shares outstanding, the units and the XBRL concept behind each figure.

Operation key search.sec_financials, scope api:search:read, price: 2 credits.

Source: U.S. Securities and Exchange Commission, EDGAR XBRL company facts. Public data.

Request

Field Type Required Description
company string Yes The company: its stock ticker (AAPL) or its SEC CIK number (320193).
period string No Fiscal years (10-K), or quarters (10-Q). One of annual, quarterly. Default "annual".
limit integer No How many years or quarters, newest first. From 1 to 20. Default 5.
{
    "company": "AAPL",
    "limit": 2
}
curl -X POST https://www.chab.ai/v1/search/sec-financials \
  -H "Authorization: Bearer CHAB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: search-sec-financials-001" \
  -d '{"company":"AAPL","limit":2}'

Result

{
    "company": {
        "name": "Apple Inc.",
        "cik": "0000320193",
        "ticker": "AAPL"
    },
    "period": "annual",
    "periods": [
        {
            "period_end": "2026-09-26",
            "period_start": "2025-09-28",
            "fiscal_year": 2026,
            "fiscal_period": "FY",
            "form": "10-K",
            "filed": "2026-11-03",
            "revenue": 478834000000,
            "cost_of_revenue": 245232000000,
            "gross_profit": 233602000000,
            "research_and_development": 45765000000,
            "operating_income": 158063000000,
            "net_income": 132175000000,
            "eps_basic": 9.01,
            "eps_diluted": 8.98,
            "operating_cash_flow": 145097000000,
            "capital_expenditure": 9041000000,
            "total_assets": 404548000000,
            "total_liabilities": 292455000000,
            "stockholders_equity": 112093000000,
            "cash": 36305000000,
            "long_term_debt": 68208000000
        },
        {
            "period_end": "2025-09-27",
            "period_start": "2024-09-29",
            "fiscal_year": 2025,
            "fiscal_period": "FY",
            "form": "10-K",
            "filed": "2025-10-31",
            "revenue": 416161000000,
            "cost_of_revenue": 220960000000,
            "gross_profit": 195201000000,
            "research_and_development": 34550000000,
            "operating_income": 133050000000,
            "net_income": 112010000000,
            "eps_basic": 7.49,
            "eps_diluted": 7.46,
            "operating_cash_flow": 111482000000,
            "capital_expenditure": 12715000000,
            "total_assets": 359241000000,
            "total_liabilities": 285508000000,
            "stockholders_equity": 73733000000,
            "cash": 35934000000,
            "long_term_debt": 78328000000
        }
    ],
    "units": {
        "revenue": "USD",
        "cost_of_revenue": "USD",
        "gross_profit": "USD",
        "research_and_development": "USD",
        "operating_income": "USD",
        "net_income": "USD",
        "eps_basic": "USD/shares",
        "eps_diluted": "USD/shares",
        "operating_cash_flow": "USD",
        "capital_expenditure": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD",
        "stockholders_equity": "USD",
        "cash": "USD",
        "long_term_debt": "USD"
    },
    "concepts": {
        "revenue": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
        "cost_of_revenue": "us-gaap:CostOfGoodsAndServicesSold",
        "gross_profit": "us-gaap:GrossProfit",
        "research_and_development": "us-gaap:ResearchAndDevelopmentExpense",
        "operating_income": "us-gaap:OperatingIncomeLoss",
        "net_income": "us-gaap:NetIncomeLoss",
        "eps_basic": "us-gaap:EarningsPerShareBasic",
        "eps_diluted": "us-gaap:EarningsPerShareDiluted",
        "operating_cash_flow": "us-gaap:NetCashProvidedByUsedInOperatingActivities",
        "capital_expenditure": "us-gaap:PaymentsToAcquirePropertyPlantAndEquipment",
        "total_assets": "us-gaap:Assets",
        "total_liabilities": "us-gaap:Liabilities",
        "stockholders_equity": "us-gaap:StockholdersEquity",
        "cash": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
        "long_term_debt": "us-gaap:LongTermDebtNoncurrent"
    },
    "shares_outstanding": {
        "value": 14532182000,
        "as_of": "2026-10-23"
    },
    "source": {
        "name": "U.S. Securities and Exchange Commission, EDGAR",
        "url": "https://www.sec.gov/edgar",
        "license": "EDGAR data is public information of the U.S. government. The SEC does not review or endorse this use of it."
    },
    "fetched_at": "2026-11-16T11:43:25+00:00"
}