Overview
The query is matched against both ticker and registered name across all
three markets. Matches are ranked by exactness (ticker exact match first,
then ticker prefix, then name substring). The response is intentionally
small — this is for "type-ahead" UX, not bulk listing. If you need to walk
the entire universe, use the per-section /tickers helper
endpoints exposed by each ingestion module.
Results include the resolved market code so downstream calls
can dispatch correctly. For US listings, the SEC cik is
surfaced too — useful when you want to pass that as an identifier into
other US-specific endpoints.
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| q | string | yes | Search query. Minimum 1 character. Substring match against ticker and name, case-insensitive. |
| limit | int | no | Max results. Default 10, max 20. |
Example
curl -H "X-API-Key: rk_YOUR_KEY" \
"https://api.rockmoon.ai/v1/companies/search?q=samsung&limit=5"
import requests
r = requests.get(
"https://api.rockmoon.ai/v1/companies/search",
params={"q": "samsung", "limit": 5},
headers={"X-API-Key": "rk_YOUR_KEY"},
)
for hit in r.json()["results"]:
print(hit["ticker"], hit["market"], hit["name"])
const r = await fetch(
"https://api.rockmoon.ai/v1/companies/search?q=samsung&limit=5",
{ headers: { "X-API-Key": "rk_YOUR_KEY" } },
);
const { results } = await r.json();
Response 200
{
"count": 3,
"results": [
{ "ticker": "005930", "name": "Samsung Electronics Co., Ltd.",
"market": "KR", "industry": "Semiconductors" },
{ "ticker": "009150", "name": "Samsung Electro-Mechanics",
"market": "KR", "industry": "Electronic Components" },
{ "ticker": "207940", "name": "Samsung Biologics",
"market": "KR", "industry": "Biotechnology" }
]
}
Errors
| HTTP | Code | Cause |
|---|---|---|
| 400 | bad_request | Missing q parameter. |
| 401 | missing_api_key | No X-API-Key header. |
| 429 | rate_limit_exceeded | Per-minute or daily limit hit. Honor the Retry-After header. |
Notes
- Romanization: Korean and Japanese names are searchable by their English / romanized form. Native script (한글 / 漢字) is not yet indexed.
- Delisted issuers are excluded by default — search reflects the active universe only.