Skip to content

missing mapping, available on web version #64

@Matoran

Description

@Matoran

Hi,

I'm trying the API (mapping, search and filter). I'm not having the same results as the FIGI search webpage.

Minimal reproduction:

import requests

HEADERS = {
    "accept": "application/json",
    "Content-Type": "application/json",
}
URL = "https://api.openfigi.com/v3/mapping"

jobs = [{"idType": "ID_BB_GLOBAL_SHARE_CLASS_LEVEL", "idValue": "BBG006T1NZ27", "exchCode": "US"}]
response = requests.post(URL, headers=HEADERS, json=jobs)
print(response.json())
[{'warning': 'No identifier found.'}]

Without the US filter, I have 6 results, but not the one with US code.

https://www.openfigi.com/search?searchTerms=BBG006T1NZ27&marketSector=All&exchangeCodeFilter=US
Image

Similar result for search/filter, can't query by shareClassFIGI.

import requests

HEADERS = {
    "accept": "application/json",
    "Content-Type": "application/json",
}

SEARCH_URL = "https://api.openfigi.com/v3/search"
jobs = {"query": "BBG006T1NZ27"}
response = requests.post(SEARCH_URL, headers=HEADERS, json=jobs)
print(response.json())
# {'data': []}

FILTER_URL = "https://api.openfigi.com/v3/filter"
jobs = {"query": "BBG006T1NZ27"}
response = requests.post(FILTER_URL, headers=HEADERS, json=jobs)
print(response.json())
# {'data': [], 'total': 0}

Is this a known limitation?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions