-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
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

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
Labels
No labels