/kijiji/listings
curl --request POST \
--url https://api.anysite.io/api/kijiji/listings \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"listing": "<string>",
"timeout": 300,
"locale": "en"
}
'import requests
url = "https://api.anysite.io/api/kijiji/listings"
payload = {
"listing": "<string>",
"timeout": 300,
"locale": "en"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({listing: '<string>', timeout: 300, locale: 'en'})
};
fetch('https://api.anysite.io/api/kijiji/listings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/kijiji/listings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => '<string>',
'timeout' => 300,
'locale' => 'en'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/kijiji/listings"
payload := strings.NewReader("{\n \"listing\": \"<string>\",\n \"timeout\": 300,\n \"locale\": \"en\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/kijiji/listings")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"<string>\",\n \"timeout\": 300,\n \"locale\": \"en\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/kijiji/listings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": \"<string>\",\n \"timeout\": 300,\n \"locale\": \"en\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "KijijiListing",
"url": "<string>",
"listing_type": "<string>",
"status": "<string>",
"ad_type": "<string>",
"ad_source": "<string>",
"category_id": 123,
"price": 123,
"currency": "<string>",
"original_price": 123,
"msrp": 123,
"price_type": "<string>",
"price_rating": "<string>",
"average_market_price": 123,
"surcharges": "<string>",
"view_count": 123,
"created_at": 123,
"updated_at": 123,
"expires_at": 123,
"image": "<string>",
"images": [],
"youtube_video_id": "<string>",
"product_url": "<string>",
"external_source_id": "<string>",
"is_top_ad": false,
"is_price_drop": false,
"is_showcase": false,
"is_highlighted": false,
"has_category_badge": false,
"is_from_dealer": false,
"is_from_autos_dealer": false,
"is_vertical_category": false,
"is_financing_available": false,
"is_trade_in_accepted": false,
"show_pin_on_map": false,
"virtual_tour_url": "<string>",
"is_mls_ad": false,
"request_viewing_url": "<string>",
"rental_badge": "<string>",
"location": {
"@type": "KijijiListingLocation",
"id": 123,
"name": "<string>",
"address": "<string>",
"latitude": 123,
"longitude": 123,
"distance": 123,
"nearest_intersection": "<string>",
"neighbourhood": "<string>",
"neighbourhood_id": "<string>"
},
"neighbourhood": {
"@type": "KijijiNeighbourhood",
"id": "<string>",
"name": "<string>",
"summary": "<string>",
"transportation": "<string>",
"scores": []
},
"seller": {
"@type": "KijijiListingSeller",
"id": "<string>",
"type": "<string>",
"website_url": "<string>",
"phone_number": "<string>",
"verified": false
},
"mileage_analysis": {
"@type": "KijijiMileageAnalysis",
"usage": "<string>",
"value": 123,
"high": 123,
"average": 123,
"low": 123
},
"attributes": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/kijiji
/kijiji/listings
Get full Kijiji listing details by listing ID (or listing URL): title, description, price, view count, location with coordinates, images, seller info and the category-specific attributes (vehicle make/model/mileage/condition, real estate bedrooms/bathrooms/neighbourhood, and so on).
Price: 1 credit
⚠️ Common errors: 412: Listing not found (well-formed but nonexistent, expired or removed listing ID)
POST
/
api
/
kijiji
/
listings
/kijiji/listings
curl --request POST \
--url https://api.anysite.io/api/kijiji/listings \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"listing": "<string>",
"timeout": 300,
"locale": "en"
}
'import requests
url = "https://api.anysite.io/api/kijiji/listings"
payload = {
"listing": "<string>",
"timeout": 300,
"locale": "en"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({listing: '<string>', timeout: 300, locale: 'en'})
};
fetch('https://api.anysite.io/api/kijiji/listings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/kijiji/listings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => '<string>',
'timeout' => 300,
'locale' => 'en'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/kijiji/listings"
payload := strings.NewReader("{\n \"listing\": \"<string>\",\n \"timeout\": 300,\n \"locale\": \"en\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/kijiji/listings")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"<string>\",\n \"timeout\": 300,\n \"locale\": \"en\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/kijiji/listings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": \"<string>\",\n \"timeout\": 300,\n \"locale\": \"en\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "KijijiListing",
"url": "<string>",
"listing_type": "<string>",
"status": "<string>",
"ad_type": "<string>",
"ad_source": "<string>",
"category_id": 123,
"price": 123,
"currency": "<string>",
"original_price": 123,
"msrp": 123,
"price_type": "<string>",
"price_rating": "<string>",
"average_market_price": 123,
"surcharges": "<string>",
"view_count": 123,
"created_at": 123,
"updated_at": 123,
"expires_at": 123,
"image": "<string>",
"images": [],
"youtube_video_id": "<string>",
"product_url": "<string>",
"external_source_id": "<string>",
"is_top_ad": false,
"is_price_drop": false,
"is_showcase": false,
"is_highlighted": false,
"has_category_badge": false,
"is_from_dealer": false,
"is_from_autos_dealer": false,
"is_vertical_category": false,
"is_financing_available": false,
"is_trade_in_accepted": false,
"show_pin_on_map": false,
"virtual_tour_url": "<string>",
"is_mls_ad": false,
"request_viewing_url": "<string>",
"rental_badge": "<string>",
"location": {
"@type": "KijijiListingLocation",
"id": 123,
"name": "<string>",
"address": "<string>",
"latitude": 123,
"longitude": 123,
"distance": 123,
"nearest_intersection": "<string>",
"neighbourhood": "<string>",
"neighbourhood_id": "<string>"
},
"neighbourhood": {
"@type": "KijijiNeighbourhood",
"id": "<string>",
"name": "<string>",
"summary": "<string>",
"transportation": "<string>",
"scores": []
},
"seller": {
"@type": "KijijiListingSeller",
"id": "<string>",
"type": "<string>",
"website_url": "<string>",
"phone_number": "<string>",
"verified": false
},
"mileage_analysis": {
"@type": "KijijiMileageAnalysis",
"usage": "<string>",
"value": 123,
"high": 123,
"average": 123,
"low": 123
},
"attributes": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes