Questions tagged [api]

For questions related to application programming interfaces. Use 'api-request' instead if you're looking for an API that provides specific open data.

Filter by
Sorted by
Tagged with
2
votes
1answer
29 views

Why does the Census API not return fields/vars when it says it should?

I am trying to retrieve the unemployment data for various US metros. The fields I am interested in are: DP03_0009E DP03_0009M DP03_0009PE DP03_0009PM I know these fields exist as I am to query the ...
0
votes
0answers
16 views

Where can I get a food ingredient database or API

I'm currently working on a project that requires the use of an ingredients database or API. In my app I have some strings and I want to know if that string is belongs to an ingredient name. I'm just ...
1
vote
1answer
18 views

ope8_id verse id in API request

I have a standing API query that has been using ope8_id for data requests, but recently it has stopped returning data; I was wondering if ope8_ids can no longer be used in requests or if the call has ...
0
votes
1answer
35 views

REST API for getting informations about celebrities

Is there any REST API that provides informations about "famous" people (Scientists, Writers, Philosophers, Politicians, ...) ? In my case I need the following infos: Photo, Full Name Born & ...
0
votes
1answer
26 views

Unexpected results from query

If I check the FDA's Drug Shortage page the first item on the list is a product with a generic name of: Abciximab (ReoPro) Injection. If I click on the link provided there is a column called ...
1
vote
0answers
35 views

Vessel/ais traffic data of the most congested areas of the world

For my research project, I need vessel traffic data of the most congested regions of the world for the past five years. I searched for that data here but couldn't get what I wanted. So far I've found ...
1
vote
0answers
22 views

APIs / Services that can link product names to their UPC/SKU codes

I have an ever growing database of products that users on my site are entering themselves. The input form for users to submit their products (as part of a troubleshooter forum) is very quick to ...
0
votes
0answers
12 views

API returning company tickers found in provided news article

I'm looking for a REST API (paid or free) that accepts a string representing a news article (see example below) as payload, maps any company names mentioned in the article to a ticker (eg map Tesla ...
0
votes
0answers
22 views

OPEID and IPEDS validation API

I'm looking for an API for validating OPEID and IPEDS. Can some help me with this? Thanks in advance.
2
votes
2answers
46 views

Free source of AIS data (API)

The automatic identification system (AIS) is an automatic tracking system that uses transponders on ships to locate them. There are also databses which provide intomation about the ship - size/type/...
0
votes
0answers
20 views

Where to save token which resets every 6 hours. (npm package)

There is api which require token which expires after 6 hours so I need to make a request to other api to get token for other api, and I'm not sure where to save this token. Right now I'm getting temp ...
0
votes
0answers
13 views

How to fetch public posts from facebook api

I am currently working on my school project which is using machine learning algorithms to detect phish posts on facebook. I need a dataset of facebook posts containing urls to train the algorithms. My ...
1
vote
1answer
21 views

Where can I get a list of new businesses that are created in the US? [duplicate]

I'm interested in new businesses in my area. Is there a way to get a list of new (physical) businesses that are created in my area, either as they open shop or ideally, even before? Any gov API that ...
0
votes
1answer
22 views

Typical Weather Averages by Lon/Lat

I would like to build a local dataset of monthly averages for rainfall, sunshine hours, temperate (C/F) for all the major cities of the world. I have all the lon/lat's stored for all the cities I ...
0
votes
1answer
42 views

How to fetch data from open fda API with multiple query parameters using +AND+

I am using below API query to fetch recalls for food by city AND termination date range. but it doesn't seem to work https://api.fda.gov/food/enforcement.json?search=city:%22Westminster%22+AND+...
0
votes
1answer
42 views

Why does the data on website not match what is returned from the api

I am trying to get data similar to what is shown on https://www.fda.gov/Safety/Recalls/default.htm using the api, but I am seeing a lot of discrepancies. For example when I use the following api ...
0
votes
0answers
21 views

API to get Get UK street name from post code

I am looking for a simple, reliable and free (gratis) API which will return the corresponding UK street name for a UK postcode (preferably with no registration or key required). Additional infos are ...
0
votes
1answer
20 views

HTTP Response Codes

For a data visualization, I'm looking for http response codes. There are many sources of this dataset, but I'm looking for machine readable (JSON preferred) reliably updated (so that my dataviz is ...
1
vote
1answer
20 views

Basic Use of openFDA Animal & Veterinary API

Will FDA be offering any additional training materials regarding use of its recently introduced openFDA Animal & Veterinary API? Although I've read the 'How to use the API' instructions, the ...
0
votes
1answer
48 views

How to get all generic names in the API (drug label)

I want list of all generic names in the api.fda. I have this end point query giving me first 1000 generic names. https://api.fda.gov/drug/label.json?count=openfda.brand_name.exact&limit=1000 ...
2
votes
1answer
27 views

Is there an API to get the legality of alcohol (or legal drinking age) by geo location?

I need to make sure alcohol isn't advertised to underage users or in countries / regions where alcohol is illegal. Ideally using MaxMind geo codes but I'm sure I could map from any geo system.
0
votes
2answers
38 views

Is it possible to link drugs, with protein targets, using OpenFDA?

I have a set of protein targets. The absolute ideal return for these targets for me, would be a .tsv file that looks like this: target_name fda_approved_drug target1 drug1 target2 - ...
2
votes
0answers
17 views

Eurostat metadata via API

Eurostat, the agency managing statistics related to the European Union, has an API for accessing their statistics. The data is accessed in different forms e.g. the actual dataset / observations and ...
0
votes
1answer
51 views

openFDA: Is there any way to match NDC data in different format?

I'd like to know whether or not there is a possible way to match NDC codes in different format by using openFDA API like Recall Enforcement Reports. For example, matching 0187-0798-30 with 0187-079-...
1
vote
0answers
24 views

Source of telemetry data from games

I'm building model to predict behaviours of players. I'm looking for external source of telemetry data from games. Have you any idea where can I get this kind of data from?
0
votes
1answer
30 views

Weather maps api's

I would like to produce some global weather maps. Air temperatures, wind speeds, ocean swells etc I know I can download the GRIB files and interpret them directly from NOAA. However this is quite ...
1
vote
0answers
22 views

Where to easily find # of employees for a large group start-ups?

I am looking for a free database or something else that provides the number of employees for mainly start-ups for some research. A range of Number of employees would also be helpful, but I would ...
2
votes
2answers
64 views

Search population, zipcode by city from US census API

I am trying to fetch zip code, city name and population in a single file from this api, But can't get it right. Below one gives me population per city, but no zipcode https://api.census.gov/data/...
0
votes
1answer
39 views

Cannot get data from FPDS atom feed using pyfpds

I have a script which uses the pyfpds wrapper (https://github.com/18F/pyfpds) to extract contract data from the FPDS Atom Feed (www.fpds.gov). Following is the code I have and this used to work till ...
1
vote
0answers
37 views

Full Text Scholarly Resources

Most of scientific paper sources provide some basic metadata about the paper (authors, publish date, DOI, etc) and sometimes the abstract and a link to the PDF of the paper. However, converting PDF to ...
5
votes
2answers
156 views

Get random city of any country

I am looking for an public Rest API which I can consume and get random city name at every time. No inputs (like country). City can be any size, it can be a village, town, city..
0
votes
1answer
59 views

OpenFDA - Differences Between Dashboard and API Results

I want to find the numbers of cases of each adverse effect for some drugs in the FAERS database. I am using Keytruda as an example. I ran the API to count the adverse events for Keytruda: https://api....
0
votes
1answer
231 views

KEEPA API Experience

I'm trying to pull historical prices and BSR from about 3,000 ASINs on Amazon, but need something built to interface with Keepa's API. Does anyone have any experience with this? If so, is there a ...
0
votes
0answers
31 views

NWS API marine forecast returns empty

I'm following the NWS API documentation and am unable to get marine forecasts via the API such as this https://forecast.weather.gov/shmrn.php?mz=LMZ362&syn=LMZ300 I've tried several different ...
1
vote
0answers
23 views

Connected components of Facebook

On the basis of publicly available data, is it possible to reasonably estimate: The size of facebook.com's largest graph-theoretic connected component, where two users are connected if and only if ...
1
vote
0answers
52 views

Using OpenCorporates API to return officers of a company

I have a list of a few thousand company LLC names and jurisdictions from states around the US. I would like to use the OpenCorporates API to search for the company in the relevant jurisdiction and ...
4
votes
2answers
107 views

NOAA Satellite Data API?

Is there an API to access live (or semi-live?) data from NOAA satellites, such as the GOES-R series? I've been searching for weeks, and I know there are ways to manually access data through website ...
1
vote
2answers
38 views

Metadata on scientific articles (economics) conditional to set of queries

I am looking for an API/software (free or open source) able to download metadata on scientific articles (economics) according to a set of queries (e.g., words in the title/abstract, keywords, JEL code,...
0
votes
1answer
20 views

Searching for adverse reports related to quality only reported in 2017

I'm trying to search for the number of adverse reports related to "quality" within the query and only for the year 2017. I've tried this query https://api.fda.gov/drug/event.json?search=receivedate:[...
1
vote
1answer
33 views

Good easy to use api with a dataset for exam

I'm teaching a course in app development at bachelors level (3rd year college/university). Each year the students exam is to make an app which have some basic functionality and targets an open API. ...
0
votes
1answer
90 views

Dict not able to return data from college scorecard API

So I've been working on a page which displays a school's name, url, city, state, zip, and student size via College Scorecard API but I'm getting tons of errors instead. However, the program is able to ...
1
vote
1answer
63 views

Not able to return data other than category “school”

For example this url returns an error: https://api.data.gov/ed/collegescorecard/v1/schools?api_key=&fields=student.enrollment.all,school.name&school.state=AL error: {"errors":[{"error":"...
1
vote
2answers
47 views

Distance between different places in USA

For me to include in my project, I am looking for some API which can recognize the places and give the output as the distance between two places. Is there any database that consists of distance ...
3
votes
1answer
131 views

Famous people API

I'm looking for an API for retrieving data about famous people, and most preferably to retrieve info about inspirational famous women in the last 100 years. Can you please tell me where to start ...
1
vote
0answers
52 views

API to find Latitude and Longitude based on Unique Well Identifier(UWI) info Canada

I'm looking for an Open Source API to find out Latitude and Longitude based on provided LSD or Section or UWI info of Alberta and BC province of Canada. Any help.
1
vote
2answers
26 views

Poverty estimates from Census API

I'm trying to complete a project for a local nonprofit I work with. I am trying to use the Census API to pull in certain estimates in each of the counties they work in. I'm trying to pull in poverty ...
0
votes
1answer
76 views

API for searching Orphan Drug Designations and Approvals

I'm building a website using the openFDA APIs, which works perfectly. I also notice that the FDA website provides a tool called "Search Orphan Drug Designations and Approvals" at https://www....
3
votes
0answers
36 views

How to get the best images from a Wikimedia Commons category?

Wikimedia Commons had tons of images of all qualities, sorted in categories. The best images are sometimes awarded a "featured" badge, or a "quality" or "valued" badge. The majority of images have no ...
2
votes
1answer
151 views

Sport's APIs For Headshots and Stats

I'm currently building an program that would benefit from higher quality images of University's Logos(NCAA, NAIA, etc.),head shots of athletes, and general statistical data(Games played, etc). The ...
1
vote
1answer
42 views

Restrict returned claims in entity

Is there a way to restrict the returned claims on wikidata's REST API? For example I am using this query: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q17714&props=claims&...