NALDC

Main content area


1. Gaining Access

Anyone may access and use the API. However, a data.gov API key must be incorporated into each API request.


2. Rate Limits

We currently limit the number of API requests to a default rate of 1,000 requests per hour per API Key. Exceeding this limit will cause your API key to be temporarily blocked for one hour. More detailed information on rate limits may be found here. Please contact us if you feel you need a higher request rate setting.


3. API Overview

Our RESTful Web Service gives you access to the publications and related information we hold in the NALDC repository.


4. API Module: Search

Use this module to search the publications and related information we hold in the NALDC repository.

URL syntax

Construct your URL for search requests as follows:

GET https://api.nal.usda.gov/naldc/rest/search/?query={}[&parameters]

Request Parameters


5. API Module: Article

Use this module to request an article metadata and related information.

URL syntax

Construct your URL for article requests as follows:

GET https://api.nal.usda.gov/naldc/rest/articles/[id]/?api_key=[api_key]

For example:

https://api.nal.usda.gov/naldc/rest/articles/1758938/?api_key=DEMO_KEY
https://api.nal.usda.gov/naldc/rest/articles/1758938.json/?api_key=DEMO_KEY