Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Bing Maps Maps

https://api.sandbase.ai/v1/api/bing-maps/maps

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

Prix
$0.00015USD / appel
Méthode
POST
Réponse
JSON asynchrone
Paramètres
0 obligatoires · 6 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
Search query. Required unless place_id is supplied.
Map center as 'latitude~longitude', such as '47.6062~-122.3321'.
130
Number of listings, 1-30. Default 30. Plage : de 1 à 30.
Listing offset, 0-10,000. Default 0. Plage : de 0 à 10000.
Interface language such as 'en-US'.
Native Bing Maps entity ID for a detail lookup. Required unless q is supplied.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

Bing Maps Maps

Returns Bing Maps business listings for a search query near a map center. Each listing has an address, phone number, coordinates, and open state. You can also pass a place_id to look up one entity.

Use cases

  • Build a list of coffee shops, pharmacies, or other business types near a given latitude and longitude.
  • Collect phone numbers and addresses of local businesses for a lead list.
  • Plot search results on a map using the gps_coordinates of each listing.
  • Check which nearby businesses are open right now using open_state and open_hours.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
countintegerNoNumber of listings, 1-30. Default 30.
cpstringNoMap center as 'latitudelongitude', such as '47.6062-122.3321'.
firstintegerNoListing offset, 0-10,000. Default 0.
place_idstringNoNative Bing Maps entity ID for a detail lookup. Required unless q is supplied.
qstringNoSearch query. Required unless place_id is supplied.
setlangstringNoInterface language such as 'en-US'.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "local_results": [
    {
      "items": [
        {
          "address": "1912 Pike Pl, Seattle, WA 98101",
          "entry_type": "Business",
          "gps_coordinates": {
            "latitude": 47.610069274902344,
            "longitude": -122.34262084960938
          },
          "link": "https://www.bing.com/maps?q=Starbucks+Coffee+Company&filters=local_ypid%3A%22YNF…",
          "open_hours": "Open until 8 PM",
          "open_state": "Open",
          "phone": "(206) 448-8762",
          "place_id": "YNF9439D454244F274"
        }
      ],
      "title": "coffee"
    }
  ],
  "search_metadata": {
    "created_at": "2026-11-03 07:28:13 UTC",
    "id": "234da23691b61502af88f81d",
    "processed_at": "2026-11-03 07:28:13 UTC",
    "status": "Success",
    "total_time_taken": 0.885
  },
  "search_parameters": {
    "count": 30,
    "cp": "47.6062~-122.3321",
    "first": 0,
    "q": "coffee"
  }
}

Response fields

FieldMeaning
local_results[].titleThe search term that the group of listings answers, such as coffee.
local_results[].items[].place_idThe Bing Maps entity ID of the listing. Pass it as place_id to look up that entity.
local_results[].items[].addressStreet address of the listing as one text line.
local_results[].items[].entry_typeType of entry, such as Business.
local_results[].items[].gps_coordinates.latitude / local_results[].items[].gps_coordinates.longitudeDecimal degree coordinates of the listing.
local_results[].items[].phonePhone number of the listing, formatted as text.
local_results[].items[].open_state / local_results[].items[].open_hoursWhether the listing is open (open_state) and a short text on closing time (open_hours), such as Open until 8 PM.
local_results[].items[].linkBing Maps URL that opens the listing.
search_metadata.statusShows Success when the search finished.
search_parameters.count / search_parameters.firstThe page size and offset the search used, with defaults filled in.

Notes

  • Send either q or place_id. A search uses q with cp as the map center in the form latitude~longitude, such as 47.6062~-122.3321.
  • Page through results with count (1-30, default 30) and first (offset, 0-10,000).
  • Take place_id from local_results[].items[].place_id to run a detail lookup on one listing.
  • Timestamps in search_metadata use the format 2026-11-03 07:28:13 UTC.

Pricing

$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Bing Maps$0.00015 par appelJSON asynchrone

Questions

FAQ

Comment utiliser l’API Bing Maps Maps ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/bing-maps/maps avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Bing Maps Maps ?

$0.00015 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.

Quels paramètres l’API Bing Maps Maps accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : q (string), cp (string), count (integer), first (integer), setlang (string) et place_id (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Bing Maps Maps ?

Un résultat JSON. Ce point de terminaison s’exécute de manière asynchrone, donc la réponse vous indique comment récupérer le résultat final. Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Bing Maps ?

Non. Bing Maps Maps fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Bing Maps séparément.