How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Foreign Agricultural Service ESR API

U.S. Weekly Export Sales of Agricultural Commodity Data

Foreign Agricultural Service ESR API is one of 4 APIs that Foreign Agricultural Service publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include ESR. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 7 operations across 7 paths. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://apps.fas.usda.gov/OpenData.

7 operations 7 paths 0 schemas 7 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Server
https://apps.fas.usda.gov/OpenData
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Foreign Agricultural Service ESR API declares 1 security scheme for authenticating requests. An API key is passed in the header as API_KEY (apiKey). By default, every request must be authenticated.

  • apiKey — API key issued via api.data.gov for the FAS Open Data Services

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 GET. Each is listed below with its method, path, parameters, and response codes.

ESR 7

U.S. Weekly Export Sales of Agricultural Commodity Data

GET
/api/esr/regions
List ESR regions
→ 200
GET
/api/esr/countries
List ESR countries
→ 200
GET
/api/esr/commodities
List ESR commodities
→ 200
GET
/api/esr/unitsOfMeasure
List ESR units of measure
→ 200
GET
/api/esr/datareleasedates
List ESR data release dates
→ 200
GET
/api/esr/exports/commodityCode/{commodityCode}/allCountries/marketYear/{marketYear}
Get ESR exports for a commodity across all countries for a market year
2 params → 200
GET
/api/esr/exports/commodityCode/{commodityCode}/countryCode/{countryCode}/marketYear/{marketYear}
Get ESR exports for a commodity, country, and market year
3 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

foreign-agricultural-service-esr-api-openapi.yml Raw ↑

Other APIs Foreign Agricultural Service publishes across the network.

USDA FAS Open Data API
Foreign Agricultural Service GATS API
Foreign Agricultural Service PSD API
Where this information came from

This is an independent, third-party profile of Foreign Agricultural Service ESR API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.