/craigslist/postings/seller
curl --request POST \
--url https://api.anysite.io/api/craigslist/postings/seller \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"posting": "<string>",
"count": 5000,
"timeout": 300,
"category": "<string>",
"sort": "newest"
}
'import requests
url = "https://api.anysite.io/api/craigslist/postings/seller"
payload = {
"posting": "<string>",
"count": 5000,
"timeout": 300,
"category": "<string>",
"sort": "newest"
}
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({
posting: '<string>',
count: 5000,
timeout: 300,
category: '<string>',
sort: 'newest'
})
};
fetch('https://api.anysite.io/api/craigslist/postings/seller', 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/craigslist/postings/seller",
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([
'posting' => '<string>',
'count' => 5000,
'timeout' => 300,
'category' => '<string>',
'sort' => 'newest'
]),
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/craigslist/postings/seller"
payload := strings.NewReader("{\n \"posting\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"category\": \"<string>\",\n \"sort\": \"newest\"\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/craigslist/postings/seller")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"posting\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"category\": \"<string>\",\n \"sort\": \"newest\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/craigslist/postings/seller")
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 \"posting\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"category\": \"<string>\",\n \"sort\": \"newest\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"posting_id": 123,
"@type": "CraigslistPostingCard",
"posting_title": "<string>",
"alias": "<string>",
"url": "<string>",
"price": 123,
"price_string": "<string>",
"currency": "<string>",
"monthly_payment_string": "<string>",
"created_at": 123,
"category_id": 123,
"category_alias": "<string>",
"category": "<string>",
"location": {
"@type": "CraigslistPostingLocation",
"area_id": 123,
"area_alias": "<string>",
"subarea_alias": "<string>",
"neighborhood": "<string>",
"lat": 123,
"lon": 123
},
"image": "<string>",
"images": [],
"image_count": 0,
"bedrooms": 123,
"sqft": 123,
"auto_miles": 123,
"salary": "<string>",
"company": "<string>",
"job_title": "<string>",
"start_date": "<string>",
"end_date": "<string>",
"open_house_dates": [],
"event_dates": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/craigslist
/craigslist/postings/seller
List every Craigslist posting published by the seller of a given posting: the full inventory of a dealer, landlord or shop, with title, price, location, images and posting date for each result.
Price: 10 credits per 360 results
⚠️ Common errors: 412: Posting not found (well-formed but nonexistent, expired or removed posting ID)
POST
/
api
/
craigslist
/
postings
/
seller
/craigslist/postings/seller
curl --request POST \
--url https://api.anysite.io/api/craigslist/postings/seller \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"posting": "<string>",
"count": 5000,
"timeout": 300,
"category": "<string>",
"sort": "newest"
}
'import requests
url = "https://api.anysite.io/api/craigslist/postings/seller"
payload = {
"posting": "<string>",
"count": 5000,
"timeout": 300,
"category": "<string>",
"sort": "newest"
}
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({
posting: '<string>',
count: 5000,
timeout: 300,
category: '<string>',
sort: 'newest'
})
};
fetch('https://api.anysite.io/api/craigslist/postings/seller', 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/craigslist/postings/seller",
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([
'posting' => '<string>',
'count' => 5000,
'timeout' => 300,
'category' => '<string>',
'sort' => 'newest'
]),
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/craigslist/postings/seller"
payload := strings.NewReader("{\n \"posting\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"category\": \"<string>\",\n \"sort\": \"newest\"\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/craigslist/postings/seller")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"posting\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"category\": \"<string>\",\n \"sort\": \"newest\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/craigslist/postings/seller")
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 \"posting\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"category\": \"<string>\",\n \"sort\": \"newest\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"posting_id": 123,
"@type": "CraigslistPostingCard",
"posting_title": "<string>",
"alias": "<string>",
"url": "<string>",
"price": 123,
"price_string": "<string>",
"currency": "<string>",
"monthly_payment_string": "<string>",
"created_at": 123,
"category_id": 123,
"category_alias": "<string>",
"category": "<string>",
"location": {
"@type": "CraigslistPostingLocation",
"area_id": 123,
"area_alias": "<string>",
"subarea_alias": "<string>",
"neighborhood": "<string>",
"lat": 123,
"lon": 123
},
"image": "<string>",
"images": [],
"image_count": 0,
"bedrooms": 123,
"sqft": 123,
"auto_miles": 123,
"salary": "<string>",
"company": "<string>",
"job_title": "<string>",
"start_date": "<string>",
"end_date": "<string>",
"open_house_dates": [],
"event_dates": []
}
]{
"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