curl --request POST \
--url https://api.anysite.io/api/paypayfleamarket/items/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"status": "all",
"conditions": [],
"price_min": 1,
"price_max": 1,
"sort": "ranking",
"gender": [],
"clothing_size": [],
"shoe_size": [],
"kids_size": [],
"wear_count": [],
"color": [],
"keyword": "",
"category_ids": [],
"brand_ids": [],
"seller_ids": [],
"catalog_ids": [],
"hashtag": "",
"first_submit": true,
"count_down_campaign": true,
"has_brand": true,
"except_suspected_fake": true,
"include_bulk": true,
"sparkle_submit": true
}
'import requests
url = "https://api.anysite.io/api/paypayfleamarket/items/search"
payload = {
"count": 2,
"timeout": 300,
"status": "all",
"conditions": [],
"price_min": 1,
"price_max": 1,
"sort": "ranking",
"gender": [],
"clothing_size": [],
"shoe_size": [],
"kids_size": [],
"wear_count": [],
"color": [],
"keyword": "",
"category_ids": [],
"brand_ids": [],
"seller_ids": [],
"catalog_ids": [],
"hashtag": "",
"first_submit": True,
"count_down_campaign": True,
"has_brand": True,
"except_suspected_fake": True,
"include_bulk": True,
"sparkle_submit": True
}
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({
count: 2,
timeout: 300,
status: 'all',
conditions: [],
price_min: 1,
price_max: 1,
sort: 'ranking',
gender: [],
clothing_size: [],
shoe_size: [],
kids_size: [],
wear_count: [],
color: [],
keyword: '',
category_ids: [],
brand_ids: [],
seller_ids: [],
catalog_ids: [],
hashtag: '',
first_submit: true,
count_down_campaign: true,
has_brand: true,
except_suspected_fake: true,
include_bulk: true,
sparkle_submit: true
})
};
fetch('https://api.anysite.io/api/paypayfleamarket/items/search', 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/paypayfleamarket/items/search",
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([
'count' => 2,
'timeout' => 300,
'status' => 'all',
'conditions' => [
],
'price_min' => 1,
'price_max' => 1,
'sort' => 'ranking',
'gender' => [
],
'clothing_size' => [
],
'shoe_size' => [
],
'kids_size' => [
],
'wear_count' => [
],
'color' => [
],
'keyword' => '',
'category_ids' => [
],
'brand_ids' => [
],
'seller_ids' => [
],
'catalog_ids' => [
],
'hashtag' => '',
'first_submit' => true,
'count_down_campaign' => true,
'has_brand' => true,
'except_suspected_fake' => true,
'include_bulk' => true,
'sparkle_submit' => true
]),
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/paypayfleamarket/items/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"status\": \"all\",\n \"conditions\": [],\n \"price_min\": 1,\n \"price_max\": 1,\n \"sort\": \"ranking\",\n \"gender\": [],\n \"clothing_size\": [],\n \"shoe_size\": [],\n \"kids_size\": [],\n \"wear_count\": [],\n \"color\": [],\n \"keyword\": \"\",\n \"category_ids\": [],\n \"brand_ids\": [],\n \"seller_ids\": [],\n \"catalog_ids\": [],\n \"hashtag\": \"\",\n \"first_submit\": true,\n \"count_down_campaign\": true,\n \"has_brand\": true,\n \"except_suspected_fake\": true,\n \"include_bulk\": true,\n \"sparkle_submit\": true\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/paypayfleamarket/items/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"status\": \"all\",\n \"conditions\": [],\n \"price_min\": 1,\n \"price_max\": 1,\n \"sort\": \"ranking\",\n \"gender\": [],\n \"clothing_size\": [],\n \"shoe_size\": [],\n \"kids_size\": [],\n \"wear_count\": [],\n \"color\": [],\n \"keyword\": \"\",\n \"category_ids\": [],\n \"brand_ids\": [],\n \"seller_ids\": [],\n \"catalog_ids\": [],\n \"hashtag\": \"\",\n \"first_submit\": true,\n \"count_down_campaign\": true,\n \"has_brand\": true,\n \"except_suspected_fake\": true,\n \"include_bulk\": true,\n \"sparkle_submit\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/paypayfleamarket/items/search")
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 \"count\": 2,\n \"timeout\": 300,\n \"status\": \"all\",\n \"conditions\": [],\n \"price_min\": 1,\n \"price_max\": 1,\n \"sort\": \"ranking\",\n \"gender\": [],\n \"clothing_size\": [],\n \"shoe_size\": [],\n \"kids_size\": [],\n \"wear_count\": [],\n \"color\": [],\n \"keyword\": \"\",\n \"category_ids\": [],\n \"brand_ids\": [],\n \"seller_ids\": [],\n \"catalog_ids\": [],\n \"hashtag\": \"\",\n \"first_submit\": true,\n \"count_down_campaign\": true,\n \"has_brand\": true,\n \"except_suspected_fake\": true,\n \"include_bulk\": true,\n \"sparkle_submit\": true\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "PaypayfleamarketItemCard",
"price": 123,
"price_before_discount": 123,
"status": "<string>",
"condition": "<string>",
"condition_name": "<string>",
"image": "<string>",
"image_count": 123,
"like_count": 123,
"opened_at": 123,
"ended_at": 123,
"category": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketCategoryRef"
},
"category_path": [],
"category_url": "<string>",
"product_category_id": 123,
"brand": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketBrandRef"
},
"catalog_id": "<string>",
"hashtags": [],
"seller": {
"id": "<string>",
"url": "<string>",
"@type": "PaypayfleamarketUserRef",
"rating_count": 123,
"good_ratio": 123
},
"is_price_down": true,
"is_first_submit": true,
"is_sparkle_submit": true,
"is_count_down_campaign_target": true,
"is_bulk_purchase_item": true
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/paypayfleamarket/items/search
Search Yahoo!フリマ (formerly PayPay フリマ) listings across the whole marketplace filter surface: free-text keyword restricted to a single field if needed, category, brand, seller, product catalogue entry, hashtag, on-sale or sold state, declared condition, price range in yen, fashion facets (gender, clothing, shoe and kids sizes, how many times the item was worn, colour family), first-time listings, countdown-campaign listings, branded-only, suspected counterfeits excluded, bulk-purchase listings and listings native to Yahoo!フリマ against those cross-listed from Yahoo! Auctions. Each result carries the price and the price it was marked down from, condition, like count, category path, brand, hashtags and the seller’s rating.
Price: 5 credits per 100 results
⚠️ Common errors: 422: No search scope given (keyword, category_ids, brand_ids, seller_ids, catalog_ids or hashtag)
curl --request POST \
--url https://api.anysite.io/api/paypayfleamarket/items/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"status": "all",
"conditions": [],
"price_min": 1,
"price_max": 1,
"sort": "ranking",
"gender": [],
"clothing_size": [],
"shoe_size": [],
"kids_size": [],
"wear_count": [],
"color": [],
"keyword": "",
"category_ids": [],
"brand_ids": [],
"seller_ids": [],
"catalog_ids": [],
"hashtag": "",
"first_submit": true,
"count_down_campaign": true,
"has_brand": true,
"except_suspected_fake": true,
"include_bulk": true,
"sparkle_submit": true
}
'import requests
url = "https://api.anysite.io/api/paypayfleamarket/items/search"
payload = {
"count": 2,
"timeout": 300,
"status": "all",
"conditions": [],
"price_min": 1,
"price_max": 1,
"sort": "ranking",
"gender": [],
"clothing_size": [],
"shoe_size": [],
"kids_size": [],
"wear_count": [],
"color": [],
"keyword": "",
"category_ids": [],
"brand_ids": [],
"seller_ids": [],
"catalog_ids": [],
"hashtag": "",
"first_submit": True,
"count_down_campaign": True,
"has_brand": True,
"except_suspected_fake": True,
"include_bulk": True,
"sparkle_submit": True
}
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({
count: 2,
timeout: 300,
status: 'all',
conditions: [],
price_min: 1,
price_max: 1,
sort: 'ranking',
gender: [],
clothing_size: [],
shoe_size: [],
kids_size: [],
wear_count: [],
color: [],
keyword: '',
category_ids: [],
brand_ids: [],
seller_ids: [],
catalog_ids: [],
hashtag: '',
first_submit: true,
count_down_campaign: true,
has_brand: true,
except_suspected_fake: true,
include_bulk: true,
sparkle_submit: true
})
};
fetch('https://api.anysite.io/api/paypayfleamarket/items/search', 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/paypayfleamarket/items/search",
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([
'count' => 2,
'timeout' => 300,
'status' => 'all',
'conditions' => [
],
'price_min' => 1,
'price_max' => 1,
'sort' => 'ranking',
'gender' => [
],
'clothing_size' => [
],
'shoe_size' => [
],
'kids_size' => [
],
'wear_count' => [
],
'color' => [
],
'keyword' => '',
'category_ids' => [
],
'brand_ids' => [
],
'seller_ids' => [
],
'catalog_ids' => [
],
'hashtag' => '',
'first_submit' => true,
'count_down_campaign' => true,
'has_brand' => true,
'except_suspected_fake' => true,
'include_bulk' => true,
'sparkle_submit' => true
]),
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/paypayfleamarket/items/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"status\": \"all\",\n \"conditions\": [],\n \"price_min\": 1,\n \"price_max\": 1,\n \"sort\": \"ranking\",\n \"gender\": [],\n \"clothing_size\": [],\n \"shoe_size\": [],\n \"kids_size\": [],\n \"wear_count\": [],\n \"color\": [],\n \"keyword\": \"\",\n \"category_ids\": [],\n \"brand_ids\": [],\n \"seller_ids\": [],\n \"catalog_ids\": [],\n \"hashtag\": \"\",\n \"first_submit\": true,\n \"count_down_campaign\": true,\n \"has_brand\": true,\n \"except_suspected_fake\": true,\n \"include_bulk\": true,\n \"sparkle_submit\": true\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/paypayfleamarket/items/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"status\": \"all\",\n \"conditions\": [],\n \"price_min\": 1,\n \"price_max\": 1,\n \"sort\": \"ranking\",\n \"gender\": [],\n \"clothing_size\": [],\n \"shoe_size\": [],\n \"kids_size\": [],\n \"wear_count\": [],\n \"color\": [],\n \"keyword\": \"\",\n \"category_ids\": [],\n \"brand_ids\": [],\n \"seller_ids\": [],\n \"catalog_ids\": [],\n \"hashtag\": \"\",\n \"first_submit\": true,\n \"count_down_campaign\": true,\n \"has_brand\": true,\n \"except_suspected_fake\": true,\n \"include_bulk\": true,\n \"sparkle_submit\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/paypayfleamarket/items/search")
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 \"count\": 2,\n \"timeout\": 300,\n \"status\": \"all\",\n \"conditions\": [],\n \"price_min\": 1,\n \"price_max\": 1,\n \"sort\": \"ranking\",\n \"gender\": [],\n \"clothing_size\": [],\n \"shoe_size\": [],\n \"kids_size\": [],\n \"wear_count\": [],\n \"color\": [],\n \"keyword\": \"\",\n \"category_ids\": [],\n \"brand_ids\": [],\n \"seller_ids\": [],\n \"catalog_ids\": [],\n \"hashtag\": \"\",\n \"first_submit\": true,\n \"count_down_campaign\": true,\n \"has_brand\": true,\n \"except_suspected_fake\": true,\n \"include_bulk\": true,\n \"sparkle_submit\": true\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "PaypayfleamarketItemCard",
"price": 123,
"price_before_discount": 123,
"status": "<string>",
"condition": "<string>",
"condition_name": "<string>",
"image": "<string>",
"image_count": 123,
"like_count": 123,
"opened_at": 123,
"ended_at": 123,
"category": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketCategoryRef"
},
"category_path": [],
"category_url": "<string>",
"product_category_id": 123,
"brand": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketBrandRef"
},
"catalog_id": "<string>",
"hashtags": [],
"seller": {
"id": "<string>",
"url": "<string>",
"@type": "PaypayfleamarketUserRef",
"rating_count": 123,
"good_ratio": 123
},
"is_price_down": true,
"is_first_submit": true,
"is_sparkle_submit": true,
"is_count_down_campaign_target": true,
"is_bulk_purchase_item": true
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
x >= 120 <= x <= 1500open, sold, all new, like_new, no_visible_damage, slight_damage, damaged x >= 0x >= 0ranking, open_time, price, like_count, end_time asc, desc mens, womens, boys, girls 2xs, xs, s, m, l, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, 8xl, 9xl, free 9cm, 9.5cm, 10cm, 10.5cm, 11cm, 11.5cm, 12cm, 12.5cm, 13cm, 13.5cm, 14cm, 14.5cm, 15cm, 15.5cm, 16cm, 16.5cm, 17cm, 17.5cm, 18cm, 18.5cm, 19cm, 19.5cm, 20cm, 20.5cm, 21cm, 21.5cm, 22cm, 22.5cm, 23cm, 23.5cm, 24cm, 24.5cm, 25cm, 25.5cm, 26cm, 26.5cm, 27cm, 27.5cm, 28cm, 28.5cm, 29cm, 29.5cm, 30cm, 30.5cm, 31cm, 31.5cm, 32cm, 32.5cm, 33cm, 33.5cm, 34cm, free 50cm, 60cm, 70cm, 80cm, 90cm, 95cm, 100cm, 110cm, 120cm, 130cm, 140cm, 150cm, 160cm, 170cm, 180cm, free once_or_twice, three_to_five, six_to_ten, eleven_or_more white, black, gray, beige, brown, red, pink, purple, navy, blue, green, khaki, yellow, orange, gold, silver, clear, multi name, description, category_name, brand_name, name_description_brand_or_category 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