Retrieve listings
GET
/locations/TG9jYXRpb246NzAzNTY1/listings/premiumThis endpoint retrieves premium listings for a specified location.
The location is identified by a unique ID included in the URL path.
- Authorization Required: This endpoint requires an API key.
- Location ID: Use a valid location ID in the path.
- API Key: Pass API key as Bearer token in
Authorization
header.
Request
Header Params
Authorization
string
required
Your API key for authentication. Use the format:
Authorization: Bearer
Request samples
Responses
OK(200)
Unauthorized(401)
Record Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
A successful response containing the premium listings for the
specified location.
Data Schema
listings
array [object {3}]
optional
A list of premium listings.
id
string
optional
The unique identifier for the listing.
title
string
optional
The title of the premium listing.
url
string
optional
The URL of the listing.
Example
{
"listings": [
{
"id": "12345",
"title": "Premium Listing Example",
"url": "https://example.com/listing/12345"
}
]
}
Last modified: 2 days ago