# Bing Maps Maps API

> Search Bing Maps listings around a map center, or look up one entity by id.

Source: https://www.sandbase.ai/apis/bing-maps/maps
API reference: https://www.sandbase.ai/apis/bing-maps/maps/docs

## Facts

- Provider: Bing Maps
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/bing-maps/maps`
- Price: $0.0001 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, bing maps, web scraping
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/bing-maps/maps` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | no |  |
| `cp` | string | no |  |
| `count` | integer | no |  |
| `first` | integer | no |  |
| `setlang` | string | no |  |
| `place_id` | string | no |  |

## FAQ

### How do I use the Bing Maps Maps API?

Send a POST request to https://api.sandbase.ai/v1/api/bing-maps/maps with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Bing Maps Maps API cost?

$0.0001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Bing Maps Maps API accept?

No parameters are required. Optional: q (string), cp (string), count (integer), first (integer), setlang (string) and place_id (string). The Parameters table and the Playground on this page list every field.

### What does the Bing Maps Maps API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Bing Maps developer account or API key?

No. Bing Maps Maps runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Bing Maps API access separately.

## README

### Bing Maps Maps

Search Bing Maps listings around a map center, or look up one entity by id.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "bing-maps/maps", "q": "coffee", "cp": "47.6062~-122.3321"}'
```

This API runs asynchronously. `/v1/run` returns a task `id` with status `pending`; poll `GET https://api.sandbase.ai/v1/run/{id}` until `status` is `completed` and read the result from `outputs[0].data`.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `count` | integer | No | Number of listings, 1-30. Default 30. |
| `cp` | string | No | Map center as 'latitude~longitude', such as '47.6062~-122.3321'. |
| `first` | integer | No | Listing offset, 0-10,000. Default 0. |
| `place_id` | string | No | Native Bing Maps entity ID for a detail lookup. Required unless q is supplied. |
| `q` | string | No | Search query. Required unless place_id is supplied. |
| `setlang` | string | No | Interface language such as 'en-US'. |

#### Pricing

Flat price per call. Failed calls are not charged.
