drillr.ai
API keys →

Company

Ticker resolution

GET/api/v2/tickers
Coverage
US / CN / JP
Billing
20 cr / thousand calls

Converts a company name, local code, ISIN, CIK or CUSIP into the ticker that every other endpoint uses, one per row. Without query, lists all currently trading common stocks in a market. Call this first when you only have a name or an identifier.

  • Resolve mode (with query): case-insensitive, surrounding whitespace ignored, matched in the tiers below; only the best tier that matches is used:
  • Exact match on the code, ISIN, CIK or CUSIP, or an English / local name that is identical to the query. When this tier matches, only this tier is returned — codes match exactly only, so AAPL does not pull in codes such as AAPLW that merely start with it, nor products whose name contains AAPL. For CN / JP, a code can also be written as the bare local code without the market suffix (600519 → 600519.SH, 000001 → 000001.SZ, 7203 → 7203.T); for A shares, the exchange-prefix forms SH600519 / SZ000001 / BJ920000 and 600519.SS are accepted as well, and all of them are compared in a form such as 600519.SH. US codes get no such step: BRK does not resolve to BRK-B.
  • Without an exact match, names are matched: an English name that starts with the query as a whole word comes first (Apple → Apple Inc., Toyota → Toyota Motor Corporation), then an English or local name that starts with the query, then an English name containing it at a word start or a local name containing it anywhere (茅台 → 贵州茅台).
  • Within a tier, rows are ordered by US-dollar market cap descending, then ticker ascending, up to limit rows. So query=Apple&limit=1 returns AAPL, and companies such as APLE follow from the second row.

A one-character query matches exactly only. Only currently trading codes are matched; a delisted code does not resolve.

  • List mode (without query): returns the full set of currently trading common stock codes, filtered by market and paginated in ascending ticker order.

Scope is listed-company common stock in US / CN / JP only. Any other value passed in market returns 400; HK / KR / TW companies also do not appear in the results.

The returned ticker carries a fixed per-market suffix, and every other endpoint accepts only this form; besides this form, query on /tickers accepts only the CN / JP local-code notations listed in tier 1 above, and another data provider's notation does not resolve; use the name / ISIN / CIK / CUSIP instead:

  • US: bare upper-case letters with no exchange suffix, such as AAPL; a company with several share classes joins the class letter with -, such as BRK-B. BRK.B and AAPL.US are not accepted.
  • CN: 6 digits + .SH (Shanghai) / .SZ (Shenzhen) / .BJ (Beijing), such as 600519.SH, 000001.SZ, 920000.BJ. Other endpoints do not accept the bare code 600519 or 600519.SS; convert it with /tickers?query=600519 to 600519.SH first.
  • JP: 4-character securities code + .T, where the 4th character may be a letter, such as 7203.T, 130A.T. Other endpoints do not accept the bare code 7203; convert it with /tickers?query=7203 to 7203.T first. 7203.JP does not resolve on /tickers either.

Query parameters

ParameterTypeRequiredDescription
querystringoptionalName / code / ISIN / CIK / CUSIP (case-insensitive, surrounding whitespace ignored). Codes and identifiers match exactly only: write a code in the canonical form with the market suffix; for CN / JP the bare local code also works (600519, 7203), and for A shares SH600519 and 600519.SS are accepted as well; a name may be just its leading words (Apple, Microsoft) and is ranked by the tiers above; omit to enter list mode.
marketstringenumoptionalUS CN JP, comma-separated for multiple values. Default: all.
limitintoptionalMaximum 50 in resolve mode; maximum 500 in list mode. Default: 10 (resolve) / 500 (list).
pageintoptionalApplies to list mode only (starting from 1). Resolve mode is not paginated: page=1 is ignored (many SDKs send it by default), page>1 returns 400. Default: 1.

Sort order: ticker asc. Paged with limit and page (pages start at 1); fewer rows than limit means the last page.

Response fields

FieldTypeDescription
tickerstringCanonical ticker
marketstringenumUS / CN / JP
namestringCompany name in English, identical to name in /company-profile; for JP / CN it is the English name registered with the exchange and the disclosure platform, and companies without one fall back to the local-language name
exchangestringenumExchange MIC (ISO 10383): XNAS XNYS XASE XSHG XSHE BJSE XTKS
identifiersobjectExternal identifiers, null when there is no value; only US-listed companies have CIK and CUSIP values

No key yet? Create one under API Keys — it is shown once, so store it where your shell can read it. Connecting an agent over MCP instead? That signs in through the browser and needs no key at all.

Authentication, conventions, rate limits and error shapes are the same for every endpoint — they live on REST API.