Skip to content
Eden Engine

English Regions: Codes, Names and Centroids (ONS)

onsgeography/england-regions

Looks up the nine regions of England from the Office for National Statistics December 2024 edition: the GSS code (RGN24CD, E12000001 to E12000009), the region name, its centroid in British National Grid and in latitude and longitude, and its area and perimeter. Returns all regions up to a limit, or filter by code or name. England only: Wales, Scotland and Northern Ireland are not covered. Attributes only, no boundary polygons. ONS data licensed under the Open Government Licence v3.0, served by Omnial; not an official ONS product.

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 $5.

Data source

Office for National Statistics

Source: Office for National Statistics licensed under the Open Government Licence v.3.0. Contains OS data © Crown copyright and database right 2025. Served by Eden Engine; not an official ONS product.

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: "onsgeography/england-regions" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "onsgeography/england-regions" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "onsgeography/england-regions", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "onsgeography/england-regions", 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 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "limit"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "How many regions to return, 1 to 20. There are nine regions, so 9 or more returns all of them."
    },
    "where": {
      "type": "string",
      "default": "1=1",
      "pattern": "^(1=1|RGN24CD='E12[0-9]{6}'|RGN24NM='[A-Za-z ]{1,24}')$",
      "description": "Which regions. Defaults to 1=1 (all). Otherwise exactly one of: RGN24CD='E12000002' (by code) or RGN24NM='North West' (exact name)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "attributes"
        ],
        "properties": {
          "attributes": {
            "type": "object",
            "required": [
              "RGN24CD",
              "RGN24NM"
            ],
            "properties": {
              "FID": {
                "type": "integer",
                "description": "Row number in the source layer."
              },
              "LAT": {
                "type": "number",
                "description": "Centroid latitude, decimal degrees."
              },
              "LONG": {
                "type": "number",
                "description": "Centroid longitude, decimal degrees."
              },
              "BNG_E": {
                "type": "integer",
                "description": "Centroid easting, British National Grid (metres)."
              },
              "BNG_N": {
                "type": "integer",
                "description": "Centroid northing, British National Grid (metres)."
              },
              "RGN24CD": {
                "type": "string",
                "description": "GSS code, for example E12000001."
              },
              "RGN24NM": {
                "type": "string",
                "description": "Region name, for example North East."
              },
              "GlobalID": {
                "type": "string",
                "description": "Source record identifier."
              },
              "Shape__Area": {
                "type": "number",
                "description": "Area in square metres."
              },
              "Shape__Length": {
                "type": "number",
                "description": "Perimeter in metres."
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "description": "One entry per region, in the service's own order. An empty list means no region matched."
    }
  },
  "description": "The matching regions, one entry per region.",
  "additionalProperties": true
}