Urbankit/StudioDeveloper docs

    Parcel records from the county that keeps them

    UrbanKit Studio reads each county's own published GIS layer and serves it through one contract. Use the REST API, the npm SDK, the MCP server or the uks CLI. 510 of the 568 indexed counties have an endpoint you can query.

    RequestGET /api/atlas/lookup?address=1200 Market St, Philadelphia, PA
    Status200
    Plat of the geocoded point at latitude 39.951865266782, longitude -75.159970396307, on a 0.001 degree graticule-75.163-75.162-75.161-75.160-75.159-75.158-75.15739.95139.95239.95339.951865, -75.15997039°57'06.7"N 75°09'35.9"W
    ExampleAtlas 0.3.0Updated 2026-11-23
    Address submitted
    1200 Market St, Philadelphia, PA
    County
    Philadelphia, PA
    County FIPS
    42101
    Latitude
    39.951865266782
    Longitude
    -75.159970396307
    Result
    matched trueatlas_indexed true
    An example lookup response, drawn as a survey plat. The point sits at its geocoded position on a 0.001 degree graticule, with a true north arrow and a 100 meter scale bar.

    Quickstart

    You can make 10 lookups a day without a key, so the first call needs no sign-up.

    1. Send a full address

      Send street, city and state. A partial address can geocode to nothing and return matched: false.

    2. Check matched and atlas_indexed

      Both true means the county answered. A miss still returns 200, so branch on the fields and not on the status code.

    3. Add a key when you need more

      A free uk_live_ key raises the limit to 500 calls a day. Send it as a bearer token.

    curl -G "https://urbankitstudio.com/api/atlas/lookup" \  --data-urlencode "address=1200 Market St, Philadelphia, PA"

    Authentication

    Lookup works without a key at a per-IP limit of 10 calls a day. A key swaps that limit for your plan's quota on lookup. The free plan allows 500 keyed calls per UTC day.

    Send your uk_live_ key as Authorization: Bearer. The key authenticates the API directly, and a session JWT will not. Create a key on your account page.

    The CLI reads UKS_API_KEY from the environment first and falls back to a key saved with uks login.

    Bearer key
    export UKS_API_KEY="uk_live_..."curl -G "https://urbankitstudio.com/api/atlas/lookup" \  --data-urlencode "address=1200 Market St, Philadelphia, PA" \  -H "Authorization: Bearer $UKS_API_KEY"

    SDK, MCP, CLI and REST

    The SDK, the CLI's county search and the npm MCP package work offline against bundled data and need no account. Owner data comes from the REST API and from 2 paid-plan tools on the hosted MCP server.

    npm SDK

    @urbankitstudio/atlas is TypeScript with zero dependencies. It carries the whole atlas, so county search runs in your bundle. Unknown input returns undefined and does not throw.

    MCP server

    @urbankitstudio/mcp-atlas runs over stdio with 5 offline discovery tools. The hosted server at /api/mcp has 8 tools that need no key, and adds enrich_address and radius_owners on a key. See the tool list.

    uks CLI

    uks needs Node.js 22 or newer. Every command prints one JSON document with --json and exits with a code a script can branch on. See the commands and exit codes.

    import { findCountyByFips, listStates } from "@urbankitstudio/atlas"; const kane = findCountyByFips("17089"); // Kane County, ILconsole.log(kane?.endpoints[0].url);   // the county's ArcGIS REST URL const populated = listStates().filter((s) => s.populated);

    REST API reference

    9 endpoints on https://urbankitstudio.com, from public/openapi.json 1.18.0. Lookup is documented in full below, and the OpenAPI spec carries every schema.

    EndpointWhat it does
    Atlas /api/atlas/
    GET /api/atlas/lookupResolve one address to its county's atlas record
    GET /api/atlas/countyWhat a county publishes, and whether it is indexed
    POST /api/atlas/radiusEvery parcel within a radius of an address
    POST /api/atlas/bulkEnrich a list of addresses in one call
    GET /api/atlas/statusLive health of the indexed county endpoints
    POST /api/atlas/requestRequest a county the atlas does not cover
    Account /api/v1/
    GET /api/v1/plansEvery plan, its price, quota and entitlements
    GET /api/v1/meWhat this key is, can do, and has left
    GET /api/v1/usageThis account's usage history, aggregated

    Resolve one address to its county's atlas record

    GET/api/atlas/lookup

    Geocodes the address, routes it to the county that owns it, and returns that county's record from the atlas: its parcel endpoints, notes and live health. It does not query the county's parcel layer.

    Without a key
    10 a day per IP
    Free key
    500 a day
    Keyed call
    1 quota unit

    Usable without a key at a lower IP-based rate limit; a free key raises it to 500/day. On a plan or free key, every keyed call counts one unit against the key's quota (a per-call rate limit), a call answered from a stale cached geocode included, with four exceptions whose unit is credited back: a call that lands in a county we do not serve (not in the atlas, or recorded with no public parcel endpoint), whose coverage block says why the county is not served; a call on a county that is paused, whose coverage block says why; a call that fails on our side (the 502, 503 and 504 answers, and a 500); and a call on a county whose own GIS server our liveness probe currently reads as down, whose message says so (the county record is still returned; a reading older than six hours, or none, is not a down reading). A call refused with 429 is not billed, and a plan or free key's refused draw is credited back the same way. Every credit is best-effort: when the quota store refuses it or does not confirm it, the unit can stay counted until the period resets (on a county with no public endpoint, a paused county, or one whose server is read as down, billable and the message say which). Pay-as-you-go bills one unit only for a fresh answer from a county with a public parcel endpoint; a no-match, an unindexed county, a county with no endpoint, a paused county, a county whose server is read as down, an outage, or a stale geocode is not billed.

    A keyed call that charges nothing (its unit credited back, or not billed on pay-as-you-go) counts toward a cap per account, shared by all of the account's keys and by the hosted MCP enrich_address tool, per UTC day. A charged call never counts, nor does an upstream outage (a 502, 503 or 504; a 500 counts), a pay-as-you-go answer for a served county from a stale cached geocode, or a pay-as-you-go 402 usage_not_recorded other than one whose op token was minted for another address or another tool. The cap per UTC day is the account's quota number, at most 10,000: 500 on Free, 150 on Starter (its monthly quota, applied here per day), 2,000 on Studio, and 10,000 on Pro and on pay-as-you-go; a Team or Enterprise key takes the limit set on it, up to 10,000. At the cap every lookup on the account is refused with 429 unbilled-limit until 00:00 UTC, before anything is drawn, billed or geocoded; Retry-After gives the seconds to that reset, and the body's limit is the account's cap.

    Query parameters

    • addressstring, min length 3Required

      Full street address including city and state. A partial address will usually fail to geocode. Plain text only: an address holding a control character other than tab, line feed or carriage return, or an unpaired UTF-16 surrogate, is refused with 400 address-invalid and nothing is counted or billed.

    • opstringOptional

      Idempotency token for a retry: the operation_id a pay-as-you-go response returned (in its body, or its x-uk-operation-id header), sent unchanged and URL-encoded. Never build one: a token the server did not issue matches no operation, and a chargeable answer with it is refused with the usage_not_recorded 402. Reusing it on an identical request reuses the reservation instead of billing again. A token is bound to the address it was issued for (and to this endpoint): sent with a different address, a chargeable answer is refused with the usage_not_recorded 402 and nothing is billed, and an answer that is not chargeable is returned as if no token were sent. It must match ^uklk[|][0-9a-fA-F-]{20,80}$.

    Request headers

    • AuthorizationBearer uk_live_...Optional

      A key swaps the anonymous per-IP limit of 10 calls a day for your plan's quota.

    Response

    • okbooleanAlways

      Always true on a 200.

    • queryobject

      The request, echoed back.

    • matchedbooleanAlways

      False when the address could not be geocoded.

    • atlas_indexedboolean

      Whether the resolved county is in the atlas. False means we geocoded it but cannot query it.

    • geocodeobject

      Where the address resolved.

      • lat, number
      • lon, number
      • countyName, string
      • stateAbbrev, string
      • countyFips, string
    • geocode_staleboolean

      True when the U.S. Census geocoder was unavailable and the last cached geocode was served instead. Pay-as-you-go is not billed for such an answer. A plan or free key's call still counts its one unit, because that unit is a per-call rate limit rather than a charge for the answer, unless the county is one we do not serve (see coverage), is paused, or is read as down; those units are credited back, best-effort (see the operation).

    • billableboolean

      Present only on a paused answer (coverage.status is paused), a no-public-endpoint answer and a county-down answer; absent on every other answer. With a plan or free key: false only when the unit's credit landed; true when the unit stayed counted (the store refused the credit) or when the draw or the credit could not be confirmed, and only the message tells those two apart. With pay-as-you-go or no key there is no unit to credit back, and it says whether the call was metered.

    • fallbackstring

      Present when the county is not indexed: where to go instead.

    • requestobject

      Present on an answer for a county we do not serve. body is ready to POST to url as-is; keys the server did not know are omitted. Requesting is free.

      • how, string
      • url, string
      • body, object
      • message, string
    • coverageobject

      A county we do not serve (CoverageAnswer), or a county that is paused (CountyPausedAnswer, status: paused; the lookup is not charged: pay-as-you-go does not meter it, and a plan or free key's unit is credited back best-effort, with billable and the message saying whether that credit landed).

    • messagestring

      Human-readable detail, such as why a geocode failed. Do not match on it.

    • countyobject

      A county as served by the public API (snake_case; the registry's internal camelCase is not the wire shape). See observed health.

    • operation_idstring

      Pay-as-you-go only, on a billed answer (also sent as the x-uk-operation-id header): the operation's id. A retry of the same address with ?op= set to it replays this answer and is not billed again. Absent on the rare billed answer whose unit Stripe accepted while our billing ledger could not confirm that acceptance; that answer is billed once and has no id to retry with.

    Observed health

    The county record's observed_health is what the liveness probe last saw. Each state has a distinct shape, so it reads without color. A null value means no observation exists, so treat it as unknown.

    ok

    The endpoint's response passed the probe's check.

    degraded

    It answered with a 2xx, but the response failed the check.

    down

    An error, a timeout or a non-2xx response.

    unknown

    No observation yet. It is not a degree of health.

    Endpoints and parcel rows also carry endpoint_status, one of live, stale, unreachable or unverified. That is the registry's curated record, set by a person. It is not a probe result.

    Errors

    Every non-2xx response has one shape, with ok false, a stable error code and an optional message. Branch on error and never on message.

    StatusWhen
    400The request was malformed: a missing parameter, or a body that is not the documented shape.
    401An Authorization header was sent but its key is not accepted: malformed, unknown or revoked (`invalid-key`). A request with no Authorization header is served anonymously instead, and is never a 401.
    402usage_not_recorded: a pay-as-you-go call whose unit could not be recorded or billed, so the result was not returned. Every such denial is this one identical answer, whatever the cause, with two exceptions, both about an operation of your own. When its unit may have reached Stripe unconfirmed (or the retry of it could not run), the body also carries its operation_id: retry the same lookup with ?op= set to it within 20 hours of the original request; a retry with it is never billed twice, and a retry without it is billed as a new lookup. When a retry carries an operation_id of yours that can no longer be resumed (past those 20 hours, issued before operation ids were bound to their address, or flagged by our billing reconciliation), the message says so, with no operation_id and no Retry-After; if that operation's first attempt was charged without a result, contact contact@urbankitstudio.com with its operation_id. Otherwise retry after Retry-After. A call whose unit Stripe accepted is answered with its result even when our billing ledger's record of it lags; that one answer carries no operation_id (see LookupResult.operation_id).
    405Wrong HTTP method for this endpoint.
    429Rate limit or quota refusal. `error` names the limit that refused, Retry-After is that limit's wait, and the x-ratelimit-* headers carry the counter stated below for each body, which is not always the plan quota. `rate_limited` (underscore) is sent by GET /api/atlas/lookup and GET /api/atlas/county when the caller's allowance is spent: an anonymous caller's per-IP daily allowance, a keyed caller's plan quota (lookup) or per-account daily allowance (county), or a pay-as-you-go key's daily safety ceiling; the body also carries `limit`, `remaining`, `reset` and `upgrade_url`, and the headers carry that same counter. POST /api/atlas/bulk also sends `rate_limited` for its two per-network limits (the per-IP request limit checked before authentication, and the per-IP address budget); the body then carries `reset` and the headers carry that per-IP counter, not the plan quota. GET /api/atlas/lookup, GET /api/atlas/county and POST /api/atlas/radius also send `rate_limited` before a key is checked when the caller's network has sent 600 distinct keys in 10 minutes that are well-formed but match no live key (an unknown or a revoked key counts once per window, however often it is repeated; a valid key, a 500, and a missing or malformed key, which is refused without a lookup, never do); a key that network already had refused this window gets its 401 again with no lookup, past the limit a key accepted in the last day is still checked, and the body then carries `message` and `reset`, Retry-After runs to that reset, and no x-ratelimit-* headers are sent. `rate-limited` (hyphen) is sent by GET /api/atlas/status, POST /api/atlas/request, GET /api/v1/me and GET /api/v1/usage for their per-IP request limits (on /api/v1 also a per-account request limit); the headers carry that limiter's counter. `quota_exceeded` (POST /api/atlas/radius and POST /api/atlas/bulk) means the request needs more plan units than the period has left, which is not always a spent period: on radius `remaining` can be positive when another request moved the counter between the quota read and the reservation, and a retry can then succeed; on bulk `remaining` is always 0, read from the refused draw, even after that draw is refunded and units remain, so a smaller batch can still succeed; the body also carries `limit`, `remaining`, `reset` and `upgrade_url`, and the headers carry the plan quota. `layer-scan-rate-limited` (POST /api/atlas/radius only) is the per-account hourly budget of scans against a county layer whose server forces a large page or cannot page, `message` then naming that budget and the wait; the headers carry the plan quota, the same figures a 200 carries, never the scan limiter's, and Retry-After is the scan limiter's. `unbilled-limit` (GET /api/atlas/lookup and POST /api/atlas/radius, each on its own counter) means the account's calls on that route this UTC day that charged nothing (credited back, or not billed on pay-as-you-go) have reached its cap, the account's quota number at most 10,000, so every call on that route from any of its keys is refused until 00:00 UTC; which calls count differs by route, and each operation's description gives its own list: on lookup a charged call never counts, nor does an upstream outage (a 502, 503 or 504; a 500 counts), a pay-as-you-go answer for a served county from a stale cached geocode, or a pay-as-you-go 402 `usage_not_recorded` other than one whose `op` token was minted for another address or another tool; on radius the 502s `county-unavailable` and `radius-failed` and the 429 `layer-scan-rate-limited` do count, while a charged ring, an outage of the geocoder or of our atlas, our own limiter or metering failing, a `request-deadline` and a refusal before the query do not; nothing is drawn or billed for the refusal, the body carries `limit`, `remaining` (0) and `reset`, Retry-After runs to that reset, and no x-ratelimit-* headers are sent. `request-budget` (POST /api/atlas/request only) means the day's budget for stored county requests is spent; it carries Retry-After and no x-ratelimit-* headers.
    500The key could not be checked: server-misconfigured, hash-failed or hash-format. The body is the error code alone, with no message. Only a request that sent a key can get this; the call is not answered and not billed. Retry later. A key check that times out or fails on our side is the 503 key-lookup-unavailable, never a 500.
    502geocode-upstream-error: the U.S. Census geocoder returned an error and no cached resolution could stand in for it. A pay-as-you-go call is not billed, and a plan or free key's unit is credited back, best-effort: a credit the quota store refuses or does not confirm can leave the unit counted. Retry shortly.
    503atlas-unavailable: the address geocoded but that state's atlas data could not be loaded. payg_unavailable: a pay-as-you-go key while pay-as-you-go is switched off; nothing the caller does fixes it. metering_unavailable: the usage meter could not be reached for a pay-as-you-go call, so no lookup is started. key-lookup-unavailable: the key check on our side timed out or failed, so no lookup is started; the key was not rejected, and nothing is drawn or billed. Retry after Retry-After, which only metering_unavailable and key-lookup-unavailable send. A pay-as-you-go call is never billed on any of these, and atlas-unavailable credits a plan or free key's unit back, best-effort as on a 502.
    504geocode-unavailable: the U.S. Census geocoder timed out or could not be reached and no cached resolution could stand in for it. A pay-as-you-go call is not billed, and a plan or free key's unit is credited back, best-effort: a credit the quota store refuses or does not confirm can leave the unit counted. Retry shortly.

    Rate limits

    A 200 and a 429 carry the rate-limit headers below. A 429 adds retry-after.

    HeaderMeaningSent on
    x-ratelimit-limitCalls allowed in the current window.200 and 429
    x-ratelimit-remainingCalls left in the current window.200 and 429
    x-ratelimit-resetUnix seconds at which the window resets.200 and 429
    retry-afterSeconds to wait before retrying.429 only
    curl -G "https://urbankitstudio.com/api/atlas/lookup" \  --data-urlencode "address=1200 Market St, Philadelphia, PA" \  -H "Authorization: Bearer $UKS_API_KEY"# A 402 carries an operation_id only when the unit may have billed. Retry with it, unchanged:curl -G "https://urbankitstudio.com/api/atlas/lookup" \  --data-urlencode "address=1200 Market St, Philadelphia, PA" \  --data-urlencode "op=$OPERATION_ID" \  -H "Authorization: Bearer $UKS_API_KEY"
    {  "ok": true,  "query": {    "address": "1200 Market St, Philadelphia, PA"  },  "matched": true,  "atlas_indexed": true,  "geocode": {    "lat": 39.951865266782,    "lon": -75.159970396307,    "countyName": "Philadelphia",    "stateAbbrev": "PA",    "countyFips": "42101"  }}

    For agents and scripts

    Run the stdio server with npx -y @urbankitstudio/mcp-atlas, or point a client at the hosted endpoint. The hosted server takes an optional bearer key, which the 2 paid-plan tools need.

    With the CLI, pass --json on every call and set UKS_API_KEY in the environment rather than running uks login.

    MCP tools

    ToolServerKey
    list_countiesstdioNo
    find_countystdioNo
    get_parcel_endpointstdioNo
    build_owner_querystdioNo
    get_city_datasetsstdioNo
    find_parcel_by_addressHostedNo
    geocode_addressHostedNo
    list_indexed_statesHostedNo
    list_counties_in_stateHostedNo
    find_county_by_fipsHostedNo
    get_county_endpointHostedNo
    get_city_datasetsHostedNo
    request_countyHostedNo
    enrich_addressHostedPaid plan or pay-as-you-go
    radius_ownersHostedPaid plan

    Tools marked No need no key. Every request to the hosted server, keyed or not, counts against a per-IP cap of 120 a minute.

    uks commands

    CommandNetworkKeyWhat it does
    uks plansYesNoPlans: price, quota, window, owner data, the trial's daily limit and terms
    uks whoamiYesYesYour tier, key prefix and label, quota, subscription
    uks usage [--from D] [--to D]YesYesCalls and units in total, by endpoint, by day
    uks statesNoNoStates the atlas covers, with county and endpoint counts
    uks find <query> [--limit N]NoNoCounties by name, name plus state, or FIPS
    uks county <state> <county>NoNoOne county's endpoint record (also uks county <FIPS>)
    uks lookup "<address>" [--op ID]YesOptionalAddress to county and parcel endpoint
    uks request-county ...YesNoAsk for a county the atlas lacks (free)
    uks login --key uk_live_...NoNoSave a key
    uks logoutNoNoRemove the saved key

    CLI exit codes

    CodeMeaningRetry
    0Success, including "no match" and "not in the atlas" answersNot needed
    1Refused: no key where one is needed, a key the server rejects (401/402/403), or a plan without the featureNo
    2Could not run: bad arguments, a network failure, a request the server rejects (other 4xx), a server error (5xx), an unreadable responseOnce after a network failure or a 5xx; never for bad-arguments or another 4xx
    3Rate limit, quota or county-request budget exhausted (429)After reset_at
    {  "mcpServers": {    "urbankit-atlas": {      "url": "https://urbankitstudio.com/api/mcp",      "headers": {        "Authorization": "Bearer uk_live_REPLACE_WITH_YOUR_KEY"      }    }  }}

    Data coverage

    Atlas 0.3.0, updated 2026-11-23. 568 counties across 50 states and DC, with 539 parcel endpoints. 58 indexed counties have no queryable endpoint yet and are not counted as covered. Missing a county? uks request-county asks for it, free and with no key.

    StateCountiesEndpoints
    Alabama44
    Alaska32
    Arizona33
    Arkansas1111
    California2222
    Colorado1211
    Connecticut99
    Delaware22
    District of Columbia11
    Florida6777
    Georgia117
    Hawaii22
    Idaho11
    Illinois1312
    Indiana115
    Iowa11
    Kansas22
    StateCountiesEndpoints
    Kentucky2616
    Louisiana22
    Maine36
    Maryland55
    Massachusetts32
    Michigan105
    Minnesota44
    Mississippi8283
    Missouri74
    Montana55
    Nebraska44
    Nevada33
    New Hampshire20
    New Jersey1010
    New Mexico22
    New York1326
    North Carolina100100
    StateCountiesEndpoints
    North Dakota11
    Ohio1211
    Oklahoma42
    Oregon98
    Pennsylvania1511
    Rhode Island31
    South Carolina62
    South Dakota11
    Tennessee95
    Texas1716
    Utah44
    Vermont11
    Virginia119
    Washington76
    West Virginia66
    Wisconsin55
    Wyoming11

    Liveness probe. Every two hours the probe checks 537 of the 539 endpoints, across 509 counties. Any county it last saw as unhealthy is checked again every 30 minutes.

    The Massachusetts statewide record has 2 endpoints and no county FIPS code, so the probe does not check it. Results reach the API as observed_health.

    Spec openapi.json 1.18.0. Prefer the overview? See Developers.Back to top