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

USGS Water Services medium-codes API

Medium refers to the specific environmental medium from which the sample was collected. Medium type differs from site type because one site type, such as surface water, could have data for several media, such as water, bottom sediment, fish tissue, and others.

USGS Water Services medium-codes API is one of 43 APIs that USGS Water Services publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include medium-codes. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 8 operations across 5 paths, and defines 3 schemas. It is described by OpenAPI 3.0.2, at version 0.56.0.

Requests are made against a single base URL, https://api.waterdata.usgs.gov/ogcapi/v0.

8 operations 5 paths 3 schemas 5 GET2 OPTIONS1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.2
API Version
0.56.0
Base URL
https://waterservices.usgs.gov/nwis/iv/
Authentication
API Key, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

USGS Water Services medium-codes API declares 2 security schemes for authenticating requests. An API key is passed in the header as api_key (ApiKeyHeader). An API key is passed in the query as api_key (ApiKeyQuery).

  • ApiKeyHeader — Providing your API key gives you higher rate limits when querying our APIs. You can obtain an API key at https://api.waterdata.usgs.gov/signup
  • ApiKeyQuery — Providing your API key gives you higher rate limits when querying our APIs. You can obtain an API key at https://api.waterdata.usgs.gov/signup

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 5 GET, 2 OPTIONS, 1 POST. Each is listed below with its method, path, parameters, and response codes.

medium-codes 8

Medium refers to the specific environmental medium from which the sample was collected. Medium type differs from site type because one site type, such as surface water, could have…

GET
/collections/medium-codes
Get Medium codes metadata
describeMedium-codesCollection 2 params → 200400403404429500
GET
/collections/medium-codes/items
Get Medium codes items
getMedium-codesFeatures 15 params → 200400403404429500
OPTIONS
/collections/medium-codes/items
Options for Medium codes items
optionsMedium-codesFeatures → 200
POST
/collections/medium-codes/items
Get Medium codes items with CQL2
getCQL2Medium-codesFeatures body → 200400403429500
GET
/collections/medium-codes/items/{featureId}
Get Medium codes item by id
getMedium-codesFeature 4 params → 200400403404429500
OPTIONS
/collections/medium-codes/items/{featureId}
Options for Medium codes item by id
optionsMedium-codesFeature 1 param → 200
GET
/collections/medium-codes/queryables
Get Medium codes queryables
getMedium-codesQueryables 4 params → 200400403404429500
GET
/collections/medium-codes/schema
Get Medium codes schema
getMedium-codesSchema 2 params → 200400403404429500

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are queryable (6 properties), queryables (1 property), Error (1 property). Each schema is shown below with its type and property counts.

Error
object
1 property
queryable
object
6 properties 2 required
queryables
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

usgs-water-medium-codes-api-openapi.yml Raw ↑

Other APIs USGS Water Services publishes across the network.

USGS Instantaneous Values Service
USGS Daily Values Service
USGS Site Service
USGS Statistics Service
USGS Groundwater Levels Service
Water Quality Portal (WQP) API
USGS Water Data Statistics API
USGS Water Services agency-codes API
USGS Water Services altitude-datums API
USGS Water Services aquifer-codes API
USGS Water Services aquifer-types API
USGS Water Services channel-measurements API
Where this information came from

This is an independent, third-party profile of USGS Water Services medium-codes 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.