openapi: 3.0.3
info:
title: NGA Earth-Info REST Clock API
description: The National Geospatial-Intelligence Agency (NGA) Earth-Info REST API provides programmatic access to GPS ephemeris products, Earth Orientation Parameter Predictions (EOPP), Navdata clock state files, and short-term orbit prediction products published by the NGA Office of Geomatics. Authoritative interactive documentation is published in OpenAPI format on the Earth-Info portal.
version: 1.0.0
contact:
name: NGA Office of Geomatics
email: geomatics@nga.mil
url: https://earth-info.nga.mil/
servers:
- url: https://earth-info.nga.mil
description: NGA Earth-Info production endpoint
tags:
- name: Clock
description: Navdata clock state files.
paths:
/api/clock-state:
get:
tags:
- Clock
summary: Download Navdata clock state file
description: Returns the Navdata clock state file for the specified date.
operationId: getClockState
parameters:
- name: date
in: query
required: true
description: Target date in YYYY-MM-DD format.
schema:
type: string
format: date
responses:
'200':
description: Clock state file.
content:
application/octet-stream:
schema:
type: string
format: binary