Skip to content
Scrappa Get API key
Bing Search API 1 credit/request

Bing Maps API

GET https://scrappa.co/api/bing/maps

Bing Maps API documentation for developers who need local business results from Bing Maps as JSON. Scrappa's GET /api/bing/maps endpoint returns places with address, phone, website, category, coordinates, rating and opening status.

How to call the endpoint

Send a GET request with a required query that includes the place, for example pizza berlin, and your API key in the x-api-key header. Limit the count with limit (1-10). The endpoint has no page parameter because Bing's local results do not page reliably. A query that is not a local search returns an empty list.

Response fields

Each place has position, id, name, category, address, phone, website, latitude, longitude, rating, review_count, rating_source, open_status, open_hours and image. Fields Bing does not show for a place are null.

Bing Maps API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/bing/maps
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops
Response preview
200 OK
{
    "data": [
        {
            "id": "ypid:YN47CA1C40C77636B6",
            "name": "Standard Serious Pizza",
            "image": "https://www.bing.com/th?id=OLC.4shfBA9pMSWG6g480x360&pid=Local",
            "phone": "030 48625614",
            "rating": 4,
            "address": "Templiner Stra\u00dfe 7 Berlin",
            "website": "https://www.standard-berlin.de/",
            "category": "Pizza restaurant",
            "latitude": 52.532867,
            "position": 1,
            "longitude": 13.408627,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

5 optional filters available.

query string Required

Local business search with the city in the text.

Example: pizza berlin

Example value coffee shops
q string Optional

Alias for query. Prefer query for new integrations.

Example value coffee shops
limit string Optional

Maximum number of places.

Range: 1-10

Default: 10

Example value 10
mkt string Optional

Bing market, language and region together, for example de-DE or en-GB. Results, wording and dates follow the market.

Default: en-US

Example value example
cc string Optional

Two-letter country code, for example DE. Scrappa sends it together with mkt.

Default: the country of mkt

Example value example
setlang string Optional

Interface language, for example de. Scrappa sends it together with mkt.

Default: the language of mkt

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data limit query market source results_on_page

Common data fields

id name image phone
JSON Response
200 OK
{
    "data": [
        {
            "id": "ypid:YN47CA1C40C77636B6",
            "name": "Standard Serious Pizza",
            "image": "https://www.bing.com/th?id=OLC.4shfBA9pMSWG6g480x360&pid=Local",
            "phone": "030 48625614",
            "rating": 4,
            "address": "Templiner Stra\u00dfe 7 Berlin",
            "website": "https://www.standard-berlin.de/",
            "category": "Pizza restaurant",
            "latitude": 52.532867,
            "position": 1,
            "longitude": 13.408627,
            "open_hours": "Open until 12 AM tomorrow",
            "open_status": "Open",
            "review_count": 395,
            "rating_source": "Tripadvisor"
        }
    ],
    "limit": 10,
    "query": "pizza berlin",
    "market": {
        "cc": "US",
        "mkt": "en-US",
        "setlang": "en"
    },
    "source": "bing",
    "results_on_page": 1
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

The query is missing, limit is outside 1-10, page was sent (not supported), or mkt, cc or setlang is malformed.

{
    "errors": {
        "query": [
            "The query field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Bing Temporarily Unavailable

Bing did not return usable data after the bounded retry on a second route. The request is not billed. Retry shortly.

{
    "error": "Bing upstream is temporarily unavailable. Please retry shortly.",
    "service": "BingVerticalsService",
    "retryable": true,
    "error_code": "bing_upstream_unavailable",
    "failed_stage": "upstream_request"
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.