curl --request POST \
--url https://api.anysite.io/api/paypayfleamarket/items \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"item": "<string>",
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/paypayfleamarket/items"
payload = {
"item": "<string>",
"timeout": 300
}
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({item: '<string>', timeout: 300})
};
fetch('https://api.anysite.io/api/paypayfleamarket/items', 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",
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([
'item' => '<string>',
'timeout' => 300
]),
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"
payload := strings.NewReader("{\n \"item\": \"<string>\",\n \"timeout\": 300\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")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"item\": \"<string>\",\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/paypayfleamarket/items")
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 \"item\": \"<string>\",\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "PaypayfleamarketItem",
"price": 123,
"status": "<string>",
"condition": "<string>",
"condition_name": "<string>",
"image": "<string>",
"images": [],
"view_count": 123,
"like_count": 123,
"question_count": 123,
"discount_count": 123,
"offer_count": 123,
"created_at": 123,
"opened_at": 123,
"updated_at": 123,
"sold_at": 123,
"sold_in_minutes": 123,
"sold_in_label": "<string>",
"is_fast_sale": true,
"category": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketCategoryRef"
},
"category_path": [],
"category_url": "<string>",
"product_category": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketCategoryRef"
},
"brands": [],
"catalog_id": "<string>",
"product_url": "<string>",
"jancodes": [],
"price_compare_url": "<string>",
"hashtags": [],
"specs": [],
"delivery_method": "<string>",
"delivery_method_name": "<string>",
"delivery_size": "<string>",
"delivery_schedule": "<string>",
"delivery_schedule_name": "<string>",
"imei": "<string>",
"location": "<string>",
"location_name": "<string>",
"item_type": "<string>",
"is_no_price_item": true,
"is_first_submit": true,
"is_free_shipping_campaign": true,
"is_web_purchase_only": true,
"is_flat_price": true,
"is_inspecting": true,
"is_bulk_purchase_requestable": true,
"count_down_campaign_expires_at": 123,
"seller": {
"id": "<string>",
"url": "<string>",
"@type": "PaypayfleamarketUser",
"nickname": "<string>",
"image": "<string>",
"rating_count": 123,
"good_ratio": 123,
"is_deleted": true,
"is_kyc_completed": true,
"is_trusted": true,
"is_gold": true,
"ship_badge_level": "<string>",
"trading_record_label": "<string>",
"trading_record_level": 123,
"external_trading_record_level": 123,
"follower_count": 123,
"followee_count": 123
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/paypayfleamarket/items
Get a full Yahoo!フリマ (formerly PayPay フリマ) listing by its id or URL: asking price in yen, sale status, declared item condition, title and description, the whole photo gallery, view and like counts, how many buyers asked a question, requested a discount or made an offer, the four-level category path, brands, the linked product catalogue entry, the JAN barcode, hashtags, item specifications, shipping method, parcel size and dispatch window, the IMEI of a listed phone, the prefecture the item ships from, and the seller with their rating, verification status and trading record. Sold listings also carry when they sold and how long they took to sell.
Price: 1 credit
⚠️ Common errors: 412: Listing not found (well-formed id but no such listing on Yahoo!フリマ)
curl --request POST \
--url https://api.anysite.io/api/paypayfleamarket/items \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"item": "<string>",
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/paypayfleamarket/items"
payload = {
"item": "<string>",
"timeout": 300
}
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({item: '<string>', timeout: 300})
};
fetch('https://api.anysite.io/api/paypayfleamarket/items', 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",
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([
'item' => '<string>',
'timeout' => 300
]),
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"
payload := strings.NewReader("{\n \"item\": \"<string>\",\n \"timeout\": 300\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")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"item\": \"<string>\",\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/paypayfleamarket/items")
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 \"item\": \"<string>\",\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "PaypayfleamarketItem",
"price": 123,
"status": "<string>",
"condition": "<string>",
"condition_name": "<string>",
"image": "<string>",
"images": [],
"view_count": 123,
"like_count": 123,
"question_count": 123,
"discount_count": 123,
"offer_count": 123,
"created_at": 123,
"opened_at": 123,
"updated_at": 123,
"sold_at": 123,
"sold_in_minutes": 123,
"sold_in_label": "<string>",
"is_fast_sale": true,
"category": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketCategoryRef"
},
"category_path": [],
"category_url": "<string>",
"product_category": {
"id": 123,
"name": "<string>",
"@type": "PaypayfleamarketCategoryRef"
},
"brands": [],
"catalog_id": "<string>",
"product_url": "<string>",
"jancodes": [],
"price_compare_url": "<string>",
"hashtags": [],
"specs": [],
"delivery_method": "<string>",
"delivery_method_name": "<string>",
"delivery_size": "<string>",
"delivery_schedule": "<string>",
"delivery_schedule_name": "<string>",
"imei": "<string>",
"location": "<string>",
"location_name": "<string>",
"item_type": "<string>",
"is_no_price_item": true,
"is_first_submit": true,
"is_free_shipping_campaign": true,
"is_web_purchase_only": true,
"is_flat_price": true,
"is_inspecting": true,
"is_bulk_purchase_requestable": true,
"count_down_campaign_expires_at": 123,
"seller": {
"id": "<string>",
"url": "<string>",
"@type": "PaypayfleamarketUser",
"nickname": "<string>",
"image": "<string>",
"rating_count": 123,
"good_ratio": 123,
"is_deleted": true,
"is_kyc_completed": true,
"is_trusted": true,
"is_gold": true,
"ship_badge_level": "<string>",
"trading_record_label": "<string>",
"trading_record_level": 123,
"external_trading_record_level": 123,
"follower_count": 123,
"followee_count": 123
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
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
Show child attributes
Show child attributes