Query Parameters
Parameter | Description | Usage |
---|---|---|
postCode | The 5-digit postcode. | Required |
startDate |
Specifies earthquake events occured after startDate (UTC time in milliseconds). The value is time elapsed since January 1, 1970 UTC. The input can contain negative and positive values, where the positive values express time after January 1, 1970 UTC, and negative values express time before January 1, 1970 UTC. If not provided, then the number of event occurrences specified in maxCandidates parameter are returned in descending order from the startDate. For example:
Note: If no startDate and endDate is specified, then the latest
event occurrences as mentioned in maxCandidates are returned. If
both dates are specified, then the latest event occurrences
between the start and end date are returned in descending order.
|
Optional |
endDate |
Specifies earthquake events occured before endDate (UTC time in milliseconds). The value is time elapsed since January 1, 1970 UTC. The input can contain negative and positive values, where the positive values express time after January 1, 1970 UTC, and negative values express time before January 1, 1970 UTC. If not provided, then the number event occurrences specified in maxCandidates parameter are returned in descending order from the endDate. For example:
Note: If no startDate and endDate is specified, then the latest
event occurrences as mentioned in maxCandidates are
returned. If both dates are specified, then the latest event
occurrences between the start and end date are returned in
descending order.
|
Optional |
minMagnitude |
Specifies earthquake events of magnitude more than minMagnitude value would be returned. |
Optional |
maxMagnitude | Specifies earthquake events of magnitude less than maxMagnitude value would be returned. | Optional |
maxCandidates | Specifies the number of earthquake occurrences that can be retrieved. Default: 5 Maximum Value: 50 |
Optional |