Skip to content
Eden Engine

Places in a State: Population, Housing Units, Area, Coordinates (2010 Gazetteer)

usgazetteer/get-places

A byte window of one state's 2010 Gazetteer place list (cities, towns, villages and designated places): USPS state, GEOID, ANSI code, name, legal/statistical area description code (LSAD), functional status, 2010 population and housing units, land and water area and internal-point coordinates. The window defaults to the first 80,000 bytes of the file (about 400 rows); at most 500 rows are returned. The file is ordered by GEOID with no name search, so a place is found by paging: send range as bytes=START-END, continue at START plus consumedBytes, and expect the first and last line of a window past the start to be dropped as fragments (counted in droppedLines). California's file is 306,314 bytes. U.S. federal statistics data, served by Eden Engine; not endorsed or certified by the data publisher.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

U.S. Census Bureau

Source: U.S. Census Bureau, 2010 Gazetteer files (www2.census.gov/geo/docs/maps-data/data/gazetteer). Served by Eden Engine; not endorsed or certified by the Census Bureau.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "usgazetteer/get-places" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "usgazetteer/get-places" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "usgazetteer/get-places", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "usgazetteer/get-places", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 25, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "state"
  ],
  "properties": {
    "range": {
      "type": "string",
      "default": "bytes=0-79999",
      "pattern": "^bytes=[0-9]{1,7}-[0-9]{1,7}$",
      "description": "Byte window of the state's file, written bytes=START-END, for example bytes=80000-159999. Defaults to bytes=0-79999. A start past the end of the file, or an end before the start, is refused as a validation error."
    },
    "state": {
      "enum": [
        "01",
        "02",
        "04",
        "05",
        "06",
        "08",
        "09",
        "10",
        "11",
        "12",
        "13",
        "15",
        "16",
        "17",
        "18",
        "19",
        "20",
        "21",
        "22",
        "23",
        "24",
        "25",
        "26",
        "27",
        "28",
        "29",
        "30",
        "31",
        "32",
        "33",
        "34",
        "35",
        "36",
        "37",
        "38",
        "39",
        "40",
        "41",
        "42",
        "44",
        "45",
        "46",
        "47",
        "48",
        "49",
        "50",
        "51",
        "53",
        "54",
        "55",
        "56",
        "72"
      ],
      "type": "string",
      "description": "Two-digit state FIPS code: 01 Alabama, 02 Alaska, 04 Arizona, 05 Arkansas, 06 California, 08 Colorado, 09 Connecticut, 10 Delaware, 11 District of Columbia, 12 Florida, 13 Georgia, 15 Hawaii, 16 Idaho, 17 Illinois, 18 Indiana, 19 Iowa, 20 Kansas, 21 Kentucky, 22 Louisiana, 23 Maine, 24 Maryland, 25 Massachusetts, 26 Michigan, 27 Minnesota, 28 Mississippi, 29 Missouri, 30 Montana, 31 Nebraska, 32 Nevada, 33 New Hampshire, 34 New Jersey, 35 New Mexico, 36 New York, 37 North Carolina, 38 North Dakota, 39 Ohio, 40 Oklahoma, 41 Oregon, 42 Pennsylvania, 44 Rhode Island, 45 South Carolina, 46 South Dakota, 47 Tennessee, 48 Texas, 49 Utah, 50 Vermont, 51 Virginia, 53 Washington, 54 West Virginia, 55 Wisconsin, 56 Wyoming, 72 Puerto Rico."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "columns",
    "rowCount",
    "truncated",
    "droppedLines",
    "bytesRead",
    "consumedBytes",
    "rows"
  ],
  "properties": {
    "rows": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "number",
            "null"
          ]
        }
      },
      "description": "One array per row, aligned with columns. Numeric columns are numbers (null when blank); GEOID, ANSICODE and names are strings."
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "USPS, GEOID, ANSICODE, NAME, LSAD, FUNCSTAT, POP10, HU10, ALAND, AWATER, ALAND_SQMI, AWATER_SQMI, INTPTLAT, INTPTLONG in that order."
    },
    "rowCount": {
      "type": "integer",
      "description": "Rows in this answer."
    },
    "bytesRead": {
      "type": "integer",
      "description": "Size of the text the file server returned, in bytes."
    },
    "truncated": {
      "type": "boolean",
      "description": "True when the body held more than 500 rows; the rest are not returned."
    },
    "droppedLines": {
      "type": "integer",
      "description": "Lines dropped because they were fragments of a byte window."
    },
    "consumedBytes": {
      "type": "integer",
      "description": "Bytes of the returned text up to the end of the last row returned; the next window starts at this offset plus the window's own start."
    }
  },
  "additionalProperties": false
}