Companies

Articles carry a small company object with a companyId. The company endpoints turn a ticker, a name or an ISIN into that id, and an id into the full master record: sector, industry, all ISINs and one listing per exchange.

All company endpoints need the entityAccess entitlement. Without it they answer 403 Forbidden. See Plans & Entitlements.

Each request costs 1 credit, like an article request. A request with ids costs 1 credit, however many ids it names. A 304 Not Modified and error responses cost 1 credit too. Not charged: 401, 403 and the monthly 429 itself. See Rate Limits & Credits.


The company record

GET /v3/companies answers {"companies": [...]} and GET /v3/companies/{companyId} answers {"company": {...}}. Both use the same record.

  • Name
    companyId
    Type
    integer
    Description

    The finlight company id. The same value as companies[].companyId and events[].companyIds in articles.

  • Name
    name
    Type
    string
    Description

    Company name.

  • Name
    country
    Type
    string | null
    Description

    Country where the company is based, as ISO 3166-1 alpha-2.

  • Name
    sector
    Type
    string | null
    Description

    Sector, for example Technology. Open list.

  • Name
    industry
    Type
    string | null
    Description

    Industry, for example Semiconductors. Open list.

  • Name
    isins
    Type
    string[]
    Description

    All known ISINs of the company, including expired ones. Always an array, can be [].

  • Name
    primaryListing
    Type
    object | null
    Description

    The main listing: ticker (string), mic (string or null, ISO 10383) and country (string or null, the exchange's country). null means the company has no listing, for example a private company.

  • Name
    listings
    Type
    object[]
    Description

    One listing per exchange: ticker, mic, country and active. The primary listing always comes first. Always an array, can be [].

  • Name
    listings[].active
    Type
    boolean
    Description

    false for a listing that no longer trades. Expired listings stay in the record when they are the only one on their exchange.

  • Name
    updatedAt
    Type
    string | null
    Description

    When the master record last changed, as YYYY-MM-DDTHH:mm:ss.sssZ.

How listings is built:

  • Each exchange (mic) appears at most once.
  • The primary listing owns its exchange.
  • For every other exchange one listing is picked: an active listing before an expired one, then the same symbol as the primary listing, then the shorter symbol.
  • Listings without a mic are not grouped.

There is no openfigi field in v3.


GET/v3/companies

Search companies

Find companies by ticker, name, alias or ISIN. The answer holds at most 10 companies, best match first. There is no paging and no limit.

Query parameters

  • Name
    q
    Type
    string
    Description

    What to look for, at most 200 characters. Accepts a ticker (NVDA), a name or alias (Advanced Micro Devices), an ISIN (US0079031078), the pair form MIC:TICKER (XNAS:AMD), and the vendor notations the search understands (NASDAQ:AAPL, 000660.KS, BRK-B). See Tickers & Exchanges.

  • Name
    mic
    Type
    string
    Description

    Optional. Keep only companies listed on this exchange, at most 32 characters. Accepts a MIC (XFRA) or a common alias (NASDAQ). It narrows the result and does not change the order. Works only together with q.

Send exactly one of q and ids. Sending both or neither is a 400 (see Errors).

Ranking

Matches are ordered like this:

  1. An exact pair form (XNAS:AMD) or an exact ISIN.
  2. An exact name or alias.
  3. An exact ticker without an exchange. The same ticker can exist on several exchanges, so this can return several companies.
  4. Names that start with or contain the text.

Expired tickers, names and ISINs still match. An expired listing is shown with active: false when it is the only one on its exchange. Otherwise the record shows the active listing of that exchange.

A specific query such as 000660.KS finds SK hynix first. The remaining places can be filled with weaker name matches, so check the first result, not only the count.

Request

GET
/v3/companies
curl -G 'https://api.finlight.me/v3/companies' \
  -H 'X-API-KEY: YOUR_API_KEY' \
  --data-urlencode 'q=XNAS:AMD'

Response (isins and listings shortened)

{
  "companies": [
    {
      "companyId": 13,
      "name": "Advanced Micro Devices, Inc.",
      "country": "US",
      "sector": "Technology",
      "industry": "Semiconductors",
      "isins": ["US0079031078"],
      "primaryListing": { "ticker": "AMD", "mic": "XNAS", "country": "US" },
      "listings": [
        { "ticker": "AMD", "mic": "XNAS", "country": "US", "active": true },
        { "ticker": "AMD", "mic": "XETR", "country": "DE", "active": true },
        { "ticker": "AMD", "mic": "XMEX", "country": "MX", "active": true }
      ],
      "updatedAt": "2026-11-21T01:40:15.243Z"
    }
  ]
}

GET/v3/companies

Get many companies by id

Resolve up to 10 company ids in one request. Use it after a search page: collect the companyId values of the articles and fetch their records in one call instead of one call per company.

Query parameters

  • Name
    ids
    Type
    string
    Description

    Comma-separated company ids, 1 to 10 of them, each a whole number of at least 1. Example: ids=13,1.

  • Ids that do not exist are left out. You get fewer records than you asked for, not an error.
  • The order of the answer is not guaranteed. Match records by companyId.
  • One request costs 1 credit, whether it names 1 id or 10.

Request

GET
/v3/companies
curl 'https://api.finlight.me/v3/companies?ids=13,1' \
  -H 'X-API-KEY: YOUR_API_KEY'

Response (isins and listings shortened)

{
  "companies": [
    {
      "companyId": 1,
      "name": "NVIDIA Corporation",
      "country": "US",
      "sector": "Technology",
      "industry": "Semiconductors",
      "isins": ["US67066G1040"],
      "primaryListing": { "ticker": "NVDA", "mic": "XNAS", "country": "US" },
      "listings": [
        { "ticker": "NVDA", "mic": "XNAS", "country": "US", "active": true },
        { "ticker": "NVD", "mic": "XFRA", "country": "DE", "active": true }
      ],
      "updatedAt": "2026-11-21T01:40:15.243Z"
    },
    {
      "companyId": 13,
      "name": "Advanced Micro Devices, Inc.",
      // ...
    }
  ]
}

GET/v3/companies/{companyId}

Get a company

Fetch the master record of one company. This is the call to cache: the record changes rarely. Keep it for a day before you ask again. Every request costs 1 credit, a revalidation that answers 304 included.

Path parameters

  • Name
    companyId
    Type
    integer
    Description

    The company id, as delivered in companies[].companyId.

Caching

A 200 answer carries two headers:

  • ETag: a quoted hash of the record, for example "7e23c0add7fc62c63ed05d3b6a2af9ff38a9bb12". It changes when the delivered record changes.
  • Cache-Control: public, max-age=86400, stale-while-revalidate=604800. Keep the record for a day, and you may keep using it for up to a week while you revalidate.

To revalidate, send the stored value in If-None-Match. If the record is unchanged, the answer is 304 Not Modified with an empty body. A 304 costs 1 credit and counts toward the burst limit, like every request. A 304 only comes when the request does not send Cache-Control: no-cache. Browser and Node fetch add that header to conditional requests on their own, so send Cache-Control: max-age=0 together with If-None-Match, as the TypeScript client does.

Errors (400, 403, 404) carry no Cache-Control. Do not cache them.

The SDKs keep no cache. Every get is a request and costs 1 credit. To save credits, keep the records yourself and ask again only after a day (max-age). cacheInfo on a record gives you its ETag and Cache-Control. To revalidate, pass the stored ETag as ifNoneMatch (Python if_none_match). A 304 then returns null (None, nil) to mean "not modified", and it still costs 1 credit. Without ifNoneMatch the SDK sends no If-None-Match.

All three lookups answer a matching If-None-Match with 304 Not Modified and an empty body: this endpoint, company search and get-many, and /v3/sources. A 304 costs 1 credit and counts toward the burst limit. Company search, get-many and /v3/sources use a weak ETag (W/"...") and send no Cache-Control.

Request

GET
/v3/companies/{companyId}
# First call: note the ETag header
curl -i 'https://api.finlight.me/v3/companies/13' \
  -H 'X-API-KEY: YOUR_API_KEY'

# Later: revalidate. Unchanged records answer 304 with no body.
curl -i 'https://api.finlight.me/v3/companies/13' \
  -H 'X-API-KEY: YOUR_API_KEY' \
  -H 'If-None-Match: "7e23c0add7fc62c63ed05d3b6a2af9ff38a9bb12"'

Response headers

HTTP/2 200
content-type: application/json; charset=utf-8
cache-control: public, max-age=86400, stale-while-revalidate=604800
etag: "7e23c0add7fc62c63ed05d3b6a2af9ff38a9bb12"

Response (isins and listings shortened)

{
  "company": {
    "companyId": 13,
    "name": "Advanced Micro Devices, Inc.",
    "country": "US",
    "sector": "Technology",
    "industry": "Semiconductors",
    "isins": ["US0079031078"],
    "primaryListing": { "ticker": "AMD", "mic": "XNAS", "country": "US" },
    "listings": [
      { "ticker": "AMD", "mic": "XNAS", "country": "US", "active": true },
      { "ticker": "AMD", "mic": "XETR", "country": "DE", "active": true },
      { "ticker": "AMD", "mic": "XMEX", "country": "MX", "active": true }
    ],
    "updatedAt": "2026-11-21T01:40:15.243Z"
  }
}

304 response

HTTP/2 304
cache-control: public, max-age=86400, stale-while-revalidate=604800
etag: "7e23c0add7fc62c63ed05d3b6a2af9ff38a9bb12"

Errors

All errors are application/problem+json. See Errors for the shape.

StatuscodeWhenerrors[]
400VALIDATION_FAILEDNeither q nor idsq and ids: Either q or ids has to be given.
400VALIDATION_FAILEDBoth q and idsids: q and ids cannot be combined. Use one of the two.
400VALIDATION_FAILEDAn id in ids is not a whole number of at least 1ids: each value in ids must not be less than 1, each value in ids must be an integer number
400VALIDATION_FAILEDMore than 10 idsids: ids must contain no more than 10 elements
400VALIDATION_FAILEDThe path id is not a whole numbercompanyId: companyId has to be a whole number.
401UNAUTHORIZEDMissing or invalid API key
403FORBIDDENYour plan has no entityAccess
404NOT_FOUNDGET /v3/companies/{companyId} with an unknown id: No company with id '999999999'.
429RATE_LIMITEDBurst limit or monthly credits used up

A search with no match is a 200 with {"companies": []}, not a 404. Unknown query parameters are ignored. In the SDKs, a 404 is a not-found error and a 403 a forbidden error, never an empty result.

403 without entityAccess

{
  "type": "https://docs.finlight.me/errors/forbidden",
  "title": "Forbidden",
  "status": 403,
  "detail": "Company master data requires the entityAccess entitlement.",
  "code": "FORBIDDEN",
  "requestId": "req_5f0c8e2a-1b7d-4c3e-9a61-2d4f8b7e0c13"
}

Related: Validation failed · Forbidden · Not found · Rate limited · Companies & Roles