latitudenumberआवश्यक
Latitude
https://api.sandbase.ai/v1/api/instagram/v2/search-by-coordinatesReturns nearby Instagram locations matching specified geographic coordinates. Queries require both latitude and longitude values to discover place names and identifiers.
[
{
"data": {
"data": {
"count": 23,
"items": [
{
"address": "<0.1mi · 18 Đường D2, Châu Thới, xã Bình Thắng, Bình Dương, Hồ Chí Minh, Việt Nam",
"category": "",
"city": null,
"hours": [],
"id": "469499352918885",
"id_source": "facebook_places",
"latitude": 0,
"longitude": 0,
"name": "Đặng Viring Specialty Coffee",
"phone": "",
"website": "",
"zip": null
},
{
"address": "<0.1mi · 350 Rufe Snow, Suite 500",
"category": "",
"city": null,
"hours": [],
"id": "185782396368380",
"id_source": "facebook_places",
"latitude": -0.0013893846577321,
"longitude": -0.00040233124127553,
"name": "Best Brains Learning Center - Keller",
"phone": "",
"website": "",
"zip": null
},
{
"address": "<0.1mi · 新北市中和橋和路15號",
"category": "",
"city": null,
"hours": [],
"id": "482775614919229",
"id_source": "facebook_places",
"latitude": 0,
"longitude": 0,
"name": "萱子的秘密小屋",
"phone": "",
"website": "",
"zip": null
},
"… 20 more items in the full response"
]
}
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns a list of Instagram locations near a pair of coordinates. Each item has a place name, an ID, and the latitude and longitude. The request needs latitude and longitude as numbers.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-by-coordinates" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"latitude": 0, "longitude": 0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | Yes | Latitude |
longitude | number | Yes | Longitude |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"count": 25,
"items": [
{
"address": "<0.1mi · 新北市中和橋和路15號",
"category": "",
"city": null,
"hours": [],
"id": "482775614919229",
"id_source": "facebook_places",
"latitude": 0,
"longitude": 0,
"name": "萱子的秘密小屋",
"phone": "",
"website": "",
"zip": null
}
]
}
}
| Field | Meaning |
|---|---|
data.count | Number of location items in the response. |
data.items[].id | Identifier of the location. Use it to look up posts tagged at that place. |
data.items[].id_source | Source system of the ID. The sample values are facebook_places. |
data.items[].name | Display name of the place. |
data.items[].address | Street address text. It can start with a distance prefix such as <0.1mi ·. |
data.items[].latitude / data.items[].longitude | Coordinates of the place. In the sample response both are 0. |
data.items[].category / data.items[].phone / data.items[].website | Optional place details. They are empty strings when no value is set. |
data.items[].city / data.items[].zip | City and postal code. Both are null in the sample response. |
data.items[].hours | List of opening hours. It is empty in the sample response. |
latitude and longitude are required numbers.category, phone, website, city and zip can be empty or null, so check them before use.id to Instagram Location Posts (V2) to get posts for that place.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-by-coordinates" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"latitude": 0,
"longitude": 0
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
latitudenumberआवश्यकLatitude
longitudenumberआवश्यकLongitude
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"data": {
"count": 23,
"items": [
{
"address": "<0.1mi · 18 Đường D2, Châu Thới, xã Bình Thắng, Bình Dương, Hồ Chí Minh, Việt Nam",
"category": "",
"city": null,
"hours": [],
"id": "469499352918885",
"id_source": "facebook_places",
"latitude": 0,
"longitude": 0,
"name": "Đặng Viring Specialty Coffee",
"phone": "",
"website": "",
"zip": null
},
{
"address": "<0.1mi · 350 Rufe Snow, Suite 500",
"category": "",
"city": null,
"hours": [],
"id": "185782396368380",
"id_source": "facebook_places",
"latitude": -0.0013893846577321,
"longitude": -0.00040233124127553,
"name": "Best Brains Learning Center - Keller",
"phone": "",
"website": "",
"zip": null
},
{
"address": "<0.1mi · 新北市中和橋和路15號",
"category": "",
"city": null,
"hours": [],
"id": "482775614919229",
"id_source": "facebook_places",
"latitude": 0,
"longitude": 0,
"name": "萱子的秘密小屋",
"phone": "",
"website": "",
"zip": null
},
"… 20 more items in the full response"
]
}
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Instagram | $0.002 प्रति कॉल | JSON |
Instagram | $0.002 प्रति कॉल | JSON |
Instagram | $0.002 प्रति कॉल | JSON |
Instagram | $0.002 प्रति कॉल | JSON |
Instagram | $0.002 प्रति कॉल | JSON |
Instagram | $0.002 प्रति कॉल | JSON |
गाइड्स:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/instagram/v2/search-by-coordinates पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.002 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: latitude (number) और longitude (number)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram Location Search by Coordinates (V2) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।