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
11 views

Inconsistent fields

This question is related to http://stackoverflow.com/questions/32363315/gson-fields-that-sometimes-are-strings-and-others-arrays I'm parsing json with Gson but I'm struggling with the data I'm ...
2
votes
1answer
34 views

Get season statistics for NFL players

So as the title suggests I'm trying to retrieve NFL stats for players. I've found that Wikipedia has a quite extensive statistics panel for a lot of players (i.e Tom Brady ...
8
votes
1answer
60 views

Is there an API for searching the US Copyright database?

I was pointed to this StackExchange from Twitter -- I'm wondering if there's any kind of stable/published API for accessing the Copyright data exposed over here. As it is, it's not incredibly ...
2
votes
1answer
31 views

Filtering and Searching Data Using Department of Labor Quarry API (v2)

I am attempting to query the OSHA Inspection data from the DOL Quarry API as shown at http://developer.dol.gov/health-and-safety/dol-osha-enforcement/#osha_inspection. I have found API documentation ...
3
votes
1answer
42 views

Open database for JEL code crawling (using article names)

I'm currently working on a project to create a database (for analysis later on) of 100 journals, and all the articles for these journals between 1969 and 2014. This of course results in over half a ...
2
votes
1answer
45 views

How do I query for a field with a single quote or apostrophe? e.g. “CROHN'S DISEASE”

I want to list all drugs that have "CROHN'S DISEASE" or "CROHN^S DISEASE" as drugindication: ...
1
vote
0answers
14 views

Location accuracy with 3taps API

I'm using the 3taps API and there's a field it returns called "accuracy", which the documentation describes: An integer indicating the accuracy of the supplied lat/long value. But I can't seem ...
1
vote
1answer
29 views

Return an Enforcement record for search=recall_number

Whenever I attempt to query the API with a specific recall_number, I receive the API error message. Is there another method for retrieving an individual record that I am overlooking in the docs? ...
2
votes
2answers
43 views

Can Linked Data URIs be parameters?

I'm still looking into Linked Data and what it takes to get up to the fourth and fifth star of Tim Berners-Lee's 5-Star classsification. We are to use URIs to denote things. I'm wondering if URIs can ...
1
vote
2answers
74 views

OpenFDA API: Including the skip parameter limit

I was working with the API and trying to paginate the results and I ran into an error which says 'Skip value must 5000 or less'. It would be nice if you guys could add this to your documentation ...
1
vote
2answers
44 views

Data Sharing by Other Orgs/Businesses

I work for a nonprofit organization and we are establishing a policy platform that will house research and policy reports, data, articles, etc. What government data can we include on our platform ...
1
vote
0answers
26 views

Linking Outpan's PHP API with Android [closed]

I have successfully integrated Zxing's Bar-code Scanning Library with my android app. So, now I am able to get bar-code data of any product. Now, the problem that has arised is I need to link ...
1
vote
0answers
21 views

How to Set a Range of Data in request URL from DOL API Returning Unemployment Insurance Claims?

I tried a request, http://api.dol.gov//V1/Statistics/OUI_InitialClaims/unemploymentInsuranceInitialClaims?KEY=mykey , but it returns old data. How can I set range of data in request url?
3
votes
1answer
152 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
97 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
52 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
54 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
283 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
12 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
49 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
67 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
35 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
139 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
52 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?
4
votes
1answer
116 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
126 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
76 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
43 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
52 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 ...
2
votes
2answers
50 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
109 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
55 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
160 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
72 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
46 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
78 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
142 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
63 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
45 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 ...
1
vote
1answer
166 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
19 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
97 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
130 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
178 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 ...
3
votes
1answer
98 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
76 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
146 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
70 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
93 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 ...