Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Abortion Policy API Minors API

Endpoints for retrieving abortion restrictions targeting minors by state or zip code.

Abortion Policy API Minors API is one of 4 APIs that Abortion Policy API publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Minors. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, code examples, and 4 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.abortionpolicyapi.com/v1.

3 operations 3 paths 2 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Server
https://api.abortionpolicyapi.com/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Abortion Policy API Minors API declares 1 security scheme for authenticating requests. An API key is passed in the header as token (ApiKeyAuth).

  • ApiKeyAuth — API key for authentication. Request access at https://www.abortionpolicyapi.com/request-access

Paths & Operations 3

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

Minors 3

Endpoints for retrieving abortion restrictions targeting minors by state or zip code.

GET
/minors/states
Abortion Policy API Get Minors Restrictions for All States
getMinorsAllStates → 200401
GET
/minors/states/{state}
Abortion Policy API Get Minors Restrictions by State
getMinorsByState 1 param → 200401404
GET
/minors/zips/{zip}
Abortion Policy API Get Minors Restrictions by Zip Code
getMinorsByZip 1 param → 200401404

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are MinorsRestrictions (7 properties), Error (2 properties). Each schema is shown below with its type and property counts.

MinorsRestrictions
object
Abortion restrictions that specifically target minors in a US state.
7 properties
Error
object
Error response returned when a request fails.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

abortion-policy-api-minors-api-openapi.yml Raw ↑

Other APIs Abortion Policy API publishes across the network.

Abortion Policy API Gestational Limits API
Abortion Policy API Insurance Coverage API
Abortion Policy API Waiting Periods API