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

learn more… | top users | synonyms

3
votes
1answer
28 views

How to get the name of a Wikidata item

Let's say I have a Wikidata item QID Q19675, and want to get the name of that item in Spanish. While getting a property like P281 postal code is easy, how to get the name, which for some reason is ...
3
votes
3answers
47 views

DailyMed RESTful API

I am trying to access the INDICATIONS, CONTRAINDICATIONS, ADVERSE REACTIONS, and WARNINGS field using the dailymed API. http://dailymed.nlm.nih.gov/dailymed/services/ However, I cannot seem to find ...
3
votes
1answer
37 views

World Bank via Pandas - looking up country regions

I am getting country data from World Bank via Pandas Remote Data API. Is there a way to get metadata for each country? In particular: Is it a country, or a region/group (e.g. Arab World or Upper ...
2
votes
1answer
31 views

OpenFDA Data: Labels with Boxed Warnings

I'd like to integrate boxed warning information from SPL with the Pillbox Engine so Pillbox users and developers can 1) know when a product has a boxed warning and 2) have access to the boxed warning ...
7
votes
3answers
144 views

Dataset of major newspapers content

I'm looking for the materials of major newspapers, such as The New York Times, Washington Post, and The Economist. A random sample of their articles or headlines would suffice, but each newspaper has ...
1
vote
0answers
11 views

Is there any way to get a package's resource's field names/datatypes with downloading the entire resource?

The CKAN <site>/api/3/action/package_show API provides a lot of metadata, but for tabular (row-column) resources I don't see any way to get the field names and datatypes other than by reading ...
2
votes
1answer
33 views

Any uses of Hydra Core Vocabulary?

JSON-LD starts having a fairly large number of users. Hydra is a lightweight vocabulary to create hypermedia-driven Web APIs. Are there any significant sites or project that use Hydra with JSON-LD?
-3
votes
1answer
47 views

I am using open FDA for the first time, How can I get API key? [closed]

We are using Composite data virtualisation tool. How can openFDA help us? How can I get API key?
3
votes
1answer
34 views

federal guidelines for reporting expenses and donations

I'm running for city council in a small town on the platform of transparency... really like 18f api standards, looking to find a schema to describe expenses and donations for the campaign - ie some ...
5
votes
2answers
60 views

API for datapackages?

Is there an API solution for datapackages which can be self-hosted? (Ideally something more lightweight than CKAN that can run on Heroku or similar.) Overall I am looking for a solution which allows ...
2
votes
1answer
90 views

Getting more than 100 records from OpenFDA in MS Excel [duplicate]

I have a query that appears to identify 975 items per the meta information. I used the limit (100) & skip (25) parameters to get the result. However, if I try to use that same query in Excel ...
2
votes
1answer
50 views

Data.gov: Is the API Version 3 down completely?

We've been getting errors from data.gov that multiple API calls are down, anyone know what the ETA is for getting it back up?
3
votes
1answer
101 views

Does data stored in Mendeley qualify as open data?

I am curious as to what makes a database open. Specifically, on another SE site I have been in discussions with a developer at Mendeley (a reference manager and social network) about whether it ...
6
votes
1answer
89 views

How to download all datasets from a CKAN instance using the API?

I've already tried ckanapi's dump datasets but it seems it only downloads the metadata. Is there a command that downloads the datasets referenced in the download_url field? I can script a download ...
2
votes
3answers
61 views

How can I get accurate data re Adverse Events?

I am researching hormonal birth control and finding different results depending on how the order of the drug is listed. Also, if a space is used between Ethinyl Estradiol or not. Ethinyl ...
2
votes
1answer
41 views

Drug time series produces unexpected results

I run two queries for the daily number of reports for bextra and avandia: https://api.fda.gov/drug/event.json?search=receivedate:[20050101+TO+20050430]+AND+brand_name:bextra&count=receivedate ...
2
votes
1answer
44 views

Is it possible to get the exact (particular) information from openFDA?

I am looking for just meta information from openFDA. Whenever I do a query I get all the information like meta, results. My requirement doesn't deal with results. We just care about metadata, because ...
1
vote
2answers
39 views

How can I find the missing information from openfda?

I have performed adverse report based on drug name with male gender, unknown gender and female gender and for all genders. But it seems like all genders count is not equal to the combined count of ...
1
vote
2answers
93 views

BEA - how to get employment data by industry?

Looking into the BEA (US Bureau of Economic Analysis) API - there is ton of data available, but I can't figure out how to get labor data by sector per county. Anyone has experience with it?
3
votes
1answer
51 views

Querying OSHA Data Returning Unexpected Results

I'm running the ruby sample provided by DOL to access DOLs OSHA API. The relevant ruby code is: request.call_api 'Compliance/OSHA/full', :select => ...
1
vote
2answers
101 views

How do we relate Adverse Reactions and Drug in Open FDA?

I have been trying to relate adverse reaction to list of drugs in the Open FDA JSON but just can't manage to understand. Consider this JSON: "reaction": [ { "reactionmeddrapt": ...
1
vote
1answer
57 views

Is it the right query on what I am looking for in openFDA?

I have performed a query. I was planning to get the adverse report based on medicine name and age. So I did this" ...
2
votes
1answer
45 views

Errors with running Ruby Government Data SDK Sample

I'm trying to the run the ruby version of the program to consume GOV data sources located at : http://usdepartmentoflabor.github.io/Ruby-Sample-App/ . I get two errors. The first has to do with an ...
0
votes
3answers
73 views

Where can I find data sets that have no API?

I am putting together a tutorial on how to build APIs and I was curious if there are any open data sets that do not have an API attached to it.
7
votes
1answer
117 views

Census API data across superior geographies

I am trying to populate a GeoJSON layer of blockgroups in Leaflet with attribute data pulled live from the Census API. My GeoJSON has the full FIPS code for the blockgroups as an attribute. That is, ...
2
votes
1answer
52 views

OpenFDA API: Can I perform search by same field with various values

I'm in a process of investigation of openFDA API and its possibilities. For now I'm reviewing this type of request - One enforcement report of a certain health hazard class ...
4
votes
1answer
35 views

seriousnesscongenitalanomaly in openFDA Adverse Events

I'm dipping my toes into the openFDA dataset and want to do some searches related to congenital anomalies. I know this data is searchable because the folks at Social Health Insights have built a ...
0
votes
1answer
120 views

How do I access data from 3taps API in C#?

I know this sounds more like a developer question, and more suitable for StackOverflow, but I'm hoping for a more theoretical answer because I'm completely new to APIs. I'm trying to develop an ...
1
vote
1answer
18 views

Docket Information call returns “Not Acceptable” error in windows form app

Our app worked fine with Version 1 and Version 2 of the Regulations.gov API, but I can't get it to work with version 3. I am using a new API key, and pasting the complete URL in the browser brings ...
3
votes
1answer
76 views

USGS Various API Calls

I am building a website that must gather information from the USGS' various APIs but seem to have a hard time. I'm trying to obtain the Soil Type using the Vs30 API. Here is the link for the ...
4
votes
2answers
89 views

openFDA: Can we print results for multiple patients at once?

Is there any way to get multiple patients' results in one output? I've noticed it defaults to show one patient's results at a time - and skipping allows you to see other patients - but is there any ...
5
votes
1answer
151 views

How to get all the DrugList

I want to fetch all the drugList, lets say -> DrugName, Manufacturer, Prescribed for, Description. I tried using https://api.fda.gov/drug/event.json?count=patient.drug.openfda.manufacturer_name.exact ...
2
votes
1answer
77 views

OpenFDA adverse event counts by dates do not add up

The counts by date range do not seem to add up. For example, the following two queries ...
3
votes
2answers
65 views

Inconsistency in API results?

Two of the sample queries on the open.fda.gov "API Basics" webpage return what appears to be inconsistent results: ...
1
vote
6answers
125 views

Where do I type in my query in the API in openFDA.gov

The openFDA.gov reference website says to use the following webpage for queries: https://api.fda.gov. But when I go to that page, there is no where to type in a query and run it. Where can I type in ...
5
votes
1answer
66 views

Format for exchanging open data catalogs

There are a number of catalogs of open data portals out there. Like many well intended efforts, many of them go stale for long periods of time or altogether. One way to combat this problem is to have ...
0
votes
2answers
62 views

How to get total count of adverse effects events by manufacturer in openFDA?

I get error when attempting to use count=patient.drug.openfda.manufacturer_name.exact without including the filter by field like in ...
4
votes
5answers
299 views

Now I have an API key, how do I access OpenFDA?

The link I am told to use, https://api.fda.gov, redirects me to http://api.data.gov, which does NOT have an FDA option! In any case, that site has no place to enter the API key I got on the OpenFDA ...
2
votes
1answer
107 views

Using Open Graph to see what comments are being made

I know that I can get the number of links shared from Facebook's Open Graph with something like this: http://graph.facebook.com?id=http://thanetstar.com/article/what-s-great-about-thanet-2 And I ...
7
votes
4answers
2k views

A web API user's guide for free and open data

There are many web-based Application Programming Interfaces (API) that allow data-hungry people to get their hands on all sorts of data. It's a great way to collect data as-needed, instead of looking ...
5
votes
2answers
422 views

Techniques for Pulling Prices for a Large Number of Amazon Items

Lately I have been playing around with the Amazon Product Advertising API, and it made me very curious about how Amazon-price checking sites like Keepa and camelcamelcamel actually work. For a ...
3
votes
1answer
78 views

Is there any documentation or case study of scaling up an Open Data API?

Forecasting open data demand is quite challenging. A new public dataset means more downloads, a new app results in way more requests. It would be interesting to discuss the throughput of open data ...
6
votes
1answer
251 views

Geospatial, temporal and keyword search using CKAN API on data.gov using ckanclient

Thanks to this answer , I can successfully use the python ckanclient package to search data.gov for "sea_water_temperature": import ckanclient q = 'tags:sea_water_temperature' ckan = ...
1
vote
2answers
54 views

How do I escape an ampersand in a Socrata SODA 2 API call?

How do I escape & in a Socrata SODA 2 API call? For example, http://data.cityofchicago.org/resource/xh8b-g55w.json?$where=license_description='Special Event Beer & Wine'&$limit=1
1
vote
2answers
149 views

How do I escape a single quote in a Socrata SODA 2 API call?

I'd like to request a query that includes a single quote '. http://data.cityofchicago.org/resource/xh8b-g55w.json?$where=license_description="Caterer's Liquor License"&$limit=1 returns { ...
6
votes
1answer
166 views

CKAN API questions

I'm looking to search Data.gov and using the CKAN API for this. as a start I want to do a simple text search like this one for environmental data. some questions related to this: It appears that ...
12
votes
7answers
351 views

Should data APIs require registration and API keys?

When publishing a data API, there seems to be a conflict between requiring a user to sign-up for an API key and the principal of open access. What is best practice in publishing an open data API ...
1
vote
2answers
88 views

Which, if any, U.S. Federal Government agencies offer a Service Level Agreement (SLA) for their APIs?

Are there any examples of U.S. Federal Government agencies offering service level agreements (SLAs) for their APIs?
4
votes
1answer
123 views

US Government API Usage

I'm unable to find very much data about the usage of APIs from United States federal agencies. Which APIs that have been released have the highest traffic number in terms of queries, and/or ...
2
votes
1answer
49 views

What companies, projects, and researchers are using the Consumer Financial Protection Bureau (CFPB)'s API of data on consumer product complaints?

This data is available for bulk download and via an API at http://www.consumerfinance.gov/complaintdatabase/.