Skip to content
Eden Engine

Bing Search Location Codes (United States, Up to 20)

omnial/bing-search-location-codes

Looks up the locations available for Bing search targeting in the United States by a place-name search and returns up to 20 matching locations, each with its numeric location code (a Google Ads geotarget id, not a Microsoft Advertising location id), the full location name (place, region and country), the code of its parent location, the two-letter country code and the location type (a level such as state or city).

activeper callv1

Price

$0.001 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.00.

Data source

Google Ads geotargets

Data from Google Ads geotargets.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

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

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/bing-search-location-codes" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/bing-search-location-codes" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/bing-search-location-codes", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/bing-search-location-codes", 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.001
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "search",
    "country",
    "limit"
  ],
  "properties": {
    "limit": {
      "enum": [
        20
      ],
      "type": "integer",
      "default": 20,
      "description": "How many locations to return at most; only 20, the one tested, is offered."
    },
    "search": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Text to look for in location names, case-insensitive, such as a place name."
    },
    "country": {
      "enum": [
        "us"
      ],
      "type": "string",
      "description": "The country whose locations are searched; only \"us\" (United States) is offered."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "location_code": {
            "type": "number",
            "description": "The numeric location code."
          },
          "location_name": {
            "type": "string",
            "description": "The full location name: the place, then its region and country."
          },
          "location_type": {
            "type": "string",
            "description": "The location's level, such as State or City."
          },
          "country_iso_code": {
            "type": "string",
            "description": "The two-letter ISO country code, upper case."
          },
          "location_code_parent": {
            "type": [
              "number",
              "null"
            ],
            "description": "The code of the location this one sits inside; null for a country."
          }
        }
      }
    }
  },
  "description": "The matching locations, wrapped as `{results: [...]}`."
}