U.S. Geological Survey · Schema
EarthquakeMetadata
Metadata about the earthquake query response.
Federal GovernmentGeologicalEarth ScienceNatural ResourcesEarthquakeWaterHydrology
Properties
| Name | Type | Description |
|---|---|---|
| generated | integer | Unix timestamp (milliseconds) when the response was generated. |
| url | string | URL used to generate this response. |
| title | string | Title for this result set. |
| status | integer | HTTP status code. |
| api | string | API version string. |
| count | integer | Number of events returned. |
| limit | integer | Maximum events requested. |
| offset | integer | Starting offset in the result set. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/u-s-geological-survey/refs/heads/main/json-schema/usgs-earthquake-api-earthquake-metadata-schema.json",
"title": "EarthquakeMetadata",
"description": "Metadata about the earthquake query response.",
"type": "object",
"properties": {
"generated": {
"type": "integer",
"description": "Unix timestamp (milliseconds) when the response was generated.",
"example": 1743897600000
},
"url": {
"type": "string",
"description": "URL used to generate this response.",
"example": "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&limit=10"
},
"title": {
"type": "string",
"description": "Title for this result set.",
"example": "USGS Earthquakes"
},
"status": {
"type": "integer",
"description": "HTTP status code.",
"example": 200
},
"api": {
"type": "string",
"description": "API version string.",
"example": "1.14.1"
},
"count": {
"type": "integer",
"description": "Number of events returned.",
"example": 47
},
"limit": {
"type": "integer",
"description": "Maximum events requested.",
"example": 100
},
"offset": {
"type": "integer",
"description": "Starting offset in the result set.",
"example": 1
}
}
}