Glossary

API query etiquette rules

API query etiquette rules are written or technically enforced limits on query load against public data servers. EIA asks users not to query aggressively, while ENTSOG rejects non-compliant calls with HTTP 500 unless responses return in under five seconds with scoped queries and no aggressive concurrency.

What are API query etiquette rules?

Etiquette rules govern how hard you may hit a shared public server: request pacing, query scoping and result-size conventions that keep the service responsive for everyone.

EIA's Weekly Natural Gas Storage Report states simply that "EIA asks that users not query its servers aggressively" - a request backed by an embargo holding releases until 10:30 a.m. eastern Thursday. ENTSOG's Transparency Platform enforces mechanically: "efficiency rules (sub-5-second responses, scoped queries, no aggressive concurrency) enforced by HTTP 500 rejection".

ENTSOG also documents the sanctioned way to move volume: "API returns paginated with limit=-1 for full result sets" - one flag instead of thousands of small calls, staying inside the 5-second guidance while pulling millions of per-interconnection-point flow, nomination and capacity records.

Why does API query etiquette matter when choosing a dataset?

Politeness budgets determine whether a source can serve production pipelines or only dashboards.

  • Soft rules still bind contracts. EIA's phrasing is a request, but it sits inside the licensing terms of a public-domain product - ignoring it risks access without any technical barrier warning you first.
  • Hard failures are silent-looking. ENTSOG's HTTP 500 rejection reads like a bug unless your team knows it is the enforcement mechanism for oversized or concurrent queries.
  • Pagination strategy is the whole game. limit=-1 exists so full result sets arrive in one compliant call; teams that loop naively generate exactly the concurrency the platform rejects.
  • Embargo schedules shape freshness claims. Thursday 10:30 a.m. eastern storage releases mean 'real-time' integrations are really scheduled ones.

How do you evaluate API query etiquette in a data source?

  1. Classify the enforcement mode. Ask whether limits are advisory (EIA) or rejection-based (ENTSOG's HTTP 500); your retry logic differs fundamentally between the two.
  1. Adopt the provider's bulk idiom. Use ENTSOG's limit=-1 pagination for full result sets rather than synthesizing your own paging scheme.
  1. Serialize against concurrency caps. Queue jobs so overlapping workers cannot trip the no-aggressive-concurrency rule on the Transparency Platform.
  1. Time runs around embargoes. Schedule EIA storage pulls after the Thursday 10:30 a.m. eastern release so jobs consume final data once, not stale data twice.
  1. Log response codes as etiquette signals. Treat bursts of 500s as your own query-shape fault first; escalate to the provider only after narrowing scope and timing.

These entries cover the access models the etiquette protects: - free registered integration key — An access model where the API itself costs nothing but callers must register for a key and accept terms of service first. - registered json api — Free machine access that still requires signing up for a key first. - form eia 176 — EIA's annual company-level survey collecting supply, delivery, sales and customer data from US natural gas distribution, transmission and storage companies. - eia weekly storage report — EIA's Thursday 10:30 a.m.

Frequently asked questions

Does EIA prohibit aggressive API querying?

It asks, rather than enforces. The Weekly Natural Gas Storage Report terms note that EIA asks users not to query its servers aggressively, with releases embargoed until 10:30 a.m. eastern Thursday.

What happens if I violate ENTSOG's query rules?

The platform rejects the call with HTTP 500. Efficiency rules requiring sub-5-second responses, scoped queries and no aggressive concurrency are enforced through that rejection.

How do I download full result sets politely?

Use the provider's bulk idiom: ENTSOG's API returns paginated results with limit=-1 for full result sets, keeping one compliant call inside the 5-second guidance instead of many small ones.

Datasets containing this field

Datasets containing API query etiquette rules

6 datasets carry api query etiquette rules in the catalog. Open one, count the fields, judge for yourself.

Datasets

EIA Energy Mapping System — Gas Infrastructure Maps and GIS

Shale_play · Basin · Lithology …+9 more

Datasets

EIA Natural Gas Consumers, Deliveries and Prices by State (dnav)

Number of Consumers · Sales · Transported …+3 more

Gas Utilities

EIA Natural Gas Data Portal

series / Sourcekey · period · value …+2 more

Datasets

EIA Natural Gas Monthly Report

Datasets

EIA Natural Gas Supply, Disposition and Prices by Area (dnav)

Prices (wellhead / citygate / end-use) · Gross withdrawals by well type · Repressuring / nonhydrocarbon gases removed / vented and flared …+4 more

Every listing shows the field dictionary, sample rows, and coverage before you commit. API, files, or your warehouse. Daily, weekly, or hourly.

Get sample rows