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

1
vote
0answers
8 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 ...
1
vote
0answers
28 views

HealthCare Finder API: Rate Limit?

I am trying to determine what the limitations are for someone making calls to the HealthCare Finder API. Specifically, does the HealthCare Finder API have any sort of per minute, per hour or per day ...
1
vote
2answers
29 views

HealthCare Finder API Links Broken?

It seems that the HealthCare Finder API schema links are no longer working. If you go to https://finder.healthcare.gov/#services and select any of the versions (or FAQ link) on the left-hand side, ...
2
votes
1answer
25 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
39 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
33 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
58 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
0answers
42 views

Planned Restful JSON apis for Healthcare Finder?

Are there any plans to provide a restful / json version of these apis? I realize that some of the urls contain the WORD rest (e.g. ...
1
vote
1answer
65 views

Getting more than 100 records from OpenFDA in MS Excel

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
48 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
98 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 ...
5
votes
1answer
69 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
54 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
39 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
75 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
50 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
86 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
54 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
43 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
112 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
50 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
32 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
98 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 ...
4
votes
2answers
166 views

Is the Healthcare Finder API broken?

Going to any of the API version pages, like... https://finder.healthcare.gov/services/version_2_0 And attempting to download the schema results in an error message, like... Access Denied ...
1
vote
1answer
17 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
68 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
83 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
135 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
71 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
62 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
122 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
60 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
61 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
289 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
101 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 ...
3
votes
2answers
569 views

Using the API from Healthcare.gov to access healthcare plan data

I'm new in these parts and I have 0 programming experience. I've been doing research for a school project and I've hit a brick wall. What I want to do is to be able to extract the non-price ...
5
votes
2answers
366 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
77 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 ...
5
votes
1answer
231 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
52 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
141 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 { ...
5
votes
1answer
156 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 ...
4
votes
1answer
127 views

The Healthplan finder API stopped responding, where can I get support or more information?

The API at http://finder.healthcare.gov/services/ has stopped responding. Previously it was returning the stated data very well. Where can I get support or more information about what's going on?
12
votes
7answers
330 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
80 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
120 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 ...