GoliathDevelopersGet an API key
Reference/Coveragegenerated from the gateway manifest

getCoverageCells

The Coverage page for a whole state.

POST/api/v1/callREADreadruns as the key's owner
View as Markdown

The Coverage page for a whole state (stateAbbr, e.g. TX) or up to 300 named counties (countyFips, five digits): one row per county and signal type (FORECLOSURE, PREFORECLOSURE, PROBATE, PREPROBATE, TAX_DELINQUENCY, CODE_VIOLATION). status: LIVE, IN_PROGRESS (we are building it; expectedBy is the promise on your own request), WAITING_ON_COUNTY (we asked the county for its records), NOT_AVAILABLE (notAvailableReason), NOT_REQUESTED. delayed: live but its source is failing; partial: delivering through a backstop, not live. delivered30d counts records in the last 30 days.

curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getCoverageCells",
    "variables": {}
  }'
import { GoliathClient } from '@goliath-data/sdk'

const goliath = new GoliathClient({
  apiKey: process.env.GOLIATH_API_KEY!,
  baseUrl: 'https://server.goliathdata.com',
})

const result = await goliath.coverage.getCoverageCells({})
const res = await fetch('https://server.goliathdata.com/api/v1/call', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.GOLIATH_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    operationId: 'getCoverageCells',
    variables: {}
  }),
})
const { data, errors } = await res.json()

Variables

The example sends only what the schema requires. Some operations also need one of several optional variables (one filter or another, say); the description above says which.

stateAbbrString
countyFips[String!]

Response

What comes back under data: a list shows as one entry, and a value as its type.

response shape
{
  "data": {
    "coverageQuery": {
      "countyCells": [
        {
          "countyFips": "…",
          "countyName": "…",
          "stateAbbr": "…",
          "family": "…",
          "status": "LIVE",
          "delayed": true,
          "partial": true,
          "expectedBy": "2026-01-01T00:00:00.000Z",
          "pastPromise": true,
          "notAvailableReason": "NOT_PUBLISHED",
          "requestedByMe": true,
          "requestedAt": "2026-01-01T00:00:00.000Z",
          "delivered30d": 0
        }
      ]
    }
  }
}

Errors

Behaviour

A read. It rejects an Idempotency-Key header with 400 bad_request.