# Identifier lookup

`GET https://firm.wealthnow.io/api/v3/reference/lookup`

- Plan: Pro and up
- Price: 3 credits per call (failed requests are free)
- MCP tool: `reference_lookup`
- Source: https://app.wealthnow.io/docs/reference/reference-lookup

REVERSE IDENTIFIER LOOKUP: give it a CUSIP, ISIN, SEDOL, ticker, estimate-vendor ticker, gvkey, regulator filer number, entity id, private-company-graph id or research-grade permno and it returns the security (or, for an ISSUER key, every security under that issuer) plus which rung matched and whether that binding is still current. Exactly one identifier per call. RETIRED identifiers resolve by default: most of the bindings on file are retired, which is precisely why a stale identifier in your own data still lands, and it comes back with the date it was replaced and by what. Issuer keys NEVER nominate one security: an issuer can carry a common line, other share classes and a foreign listing, so all of them are returned and the grain is stated. Use it to turn a CUSIP-keyed custodian file into tickers, to find the ticker behind a regulator filing, or to audit whether an identifier in your own data has gone stale. Rung coverage is measured in every response (coverage.dataset.rung_fill_pct): CUSIP9 and CUSIP8 on every security, the other rungs on fewer.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `cusip` | query | string | no | 9 or 8 characters resolve a SECURITY; 6 characters are an ISSUER key and return every security under it. Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `isin` | query | string | no | Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `sedol` | query | string | no | Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `ticker` | query | string | no | Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `ibtic` | query | string | no | Estimate-vendor ticker. Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `gvkey` | query | string | no | ISSUER key. Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `cik` | query | string | no | Regulator filer number: an ISSUER key. Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `entity_id` | query | string | no | This API's issuer entity id. Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `private_company_id` | query | string | no | Private-company-graph id: returns the listed issuer it bridges to, if any. Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `permno` | query | string | no | Research-grade security number (1-7 digits): every link to an issuer with its valid_from/valid_to dates, the link covering today, and that issuer's securities with the linked one flagged; the source's as_of is its newest link date (monthly). Send exactly one of cusip, isin, sedol, ticker, ibtic, gvkey, cik, entity_id, private_company_id or permno: the call is refused without it. |
| `include_retired` | query | boolean | no | Also match identifiers that have been RETIRED. Default `true`. |

## Example request

```bash
curl -H "Authorization: Bearer $WEALTHNOW_API_KEY" \
  "https://firm.wealthnow.io/api/v3/reference/lookup?cusip=30231G102"
```

## Errors

| Status | Code | Meaning |
|---|---|---|
| 400 | `invalid_ticker` | The request is malformed, for example a ticker that is not a symbol: `invalid_ticker`, refused before any credit is reserved, with `param` naming the parameter. Not billed. |
| 401 | `unauthorized` | Missing or invalid API key. |
| 402 | `plan_required` | Your plan does not include this tool, you are out of credits, or your workspace's spend cap paused its keys. `plan_required` names the plan that unlocks the tool; `usage_exceeded` means the credit balance is spent; `spend_cap_reached` means the key is paused until the cap resets or is raised: `detail` names the cap and the reset, `cap_usd` and `resets_at` (ISO 8601) carry them, and `doc_url` links pricing and credits. Not billed. |
| 403 | `scope_denied` | This API key is limited to some products and this tool is not one of them. `product` names the tool's product and `scopes` the key's products. An upgrade does not change it: use a key whose scopes include the product, or change this key's scopes. Not billed. |
| 404 | `not_found` | No such resource. Not billed. |
| 422 | `validation` | A parameter is missing, out of range or the wrong type; `param` names it. Not billed. |
| 429 | `rate_limited` | Your plan's rate limit is spent for this window. Retry after `Retry-After` seconds. Not billed. |
| 503 | `paid_data_unavailable` | The data could not be served completely right now; retry later. Not billed. |
| 504 | `request_timeout` | The request ran past the server's time budget; retry. Not billed. |
