万邦goodfish某鱼按关键字搜索闲鱼商品 API 返回值说明

item_search-按关键字搜索闲鱼商品 [查看演示] API测试工具 注册开通

goodfish.item_search

公共参数

请求地址: https://api-gw.onebound.cn/goodfish/item_search

名称 类型 必须 描述
keyString调用key(必须以GET方式拼接在URL中)
secretString调用密钥
api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
langString[cn,en,ru]翻译语言,默认cn简体中文
versionStringAPI版本
请求参数

请求参数:q=女装&page=1&sort=&price_range=

参数说明:q:搜索关键字
page:页码
sort:排序(bid:价格为低到高,_bid:价格为高到低, day-1:表示1天内,数字可修改)
price_range:价格区间(100,200)

响应参数

Version: Date:2023-12-18

名称 类型 必须 示例值 描述
items
items[] 0 关键词商品列表
请求示例
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range="
<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.onebound.cn/help/demo/sdk/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>
<?php
//定义缓存目录和引入文件
define("DIR_RUNTIME","runtime/");
define("DIR_ERROR","runtime/");
define("SECACHE_SIZE","0");
//SDK下载地址 https://open.onebound.cn/help/demo/sdk/onebound-api-sdk.zip
include ("ObApiClient.php");

$obapi = new otao\ObApiClient();
$obapi->api_url = "http://api-gw.onebound.cn/";
$obapi->api_urls = array("http://api-gw.onebound.cn/","http://api-1.onebound.cn/");//备用API服务器
$obapi->api_urls_on = true;//当网络错误时,是否启用备用API服务器
$obapi->api_key = "<您自己的apiKey>";
$obapi->api_secret = "<您自己的apiSecret>";
$obapi->api_version ="";
$obapi->secache_path ="runtime/";
$obapi->secache_time ="86400";
$obapi->cache = true;

$api_data = $obapi->exec(
                array(
	                "api_type" =>"goodfish",
	                "api_name" =>"item_search",
	                "api_params"=>array (
  'q' => '女装',
  'page' => '1',
  'sort' => '',
  'price_range' => '',
)
                )
            );
 var_dump($api_data);
?>
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.PrintWriter;
import java.net.URLConnection;

public class Example {
	private static String readAll(Reader rd) throws IOException {
		StringBuilder sb = new StringBuilder();
		int cp;
		while ((cp = rd.read()) != -1) {
			sb.append((char) cp);
		}
		return  sb.toString();
	}
	public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException {
		URL realUrl = new URL(url);
		URLConnection conn = realUrl.openConnection();
		conn.setDoOutput(true);
		conn.setDoInput(true);
		PrintWriter out = new PrintWriter(conn.getOutputStream());
		out.print(body);
		out.flush();
		InputStream instream = conn.getInputStream();
		try {
			BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
			String jsonText = readAll(rd);
			JSONObject json = new JSONObject(jsonText);
			return json;
		} finally {
			instream.close();
		}
	}
	public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException {
		URL realUrl = new URL(url);
		URLConnection conn = realUrl.openConnection();
		InputStream instream = conn.getInputStream();
		try {
			BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
			String jsonText = readAll(rd);
			JSONObject json = new JSONObject(jsonText);
			return json;
		} finally {
			instream.close();
		}
	}
	public static void main(String[] args) throws IOException, JSONException {
		// 请求示例 url 默认请求参数已经URL编码处理
		String url = "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=";
		JSONObject json = getRequestFromUrl(url);
		System.out.println(json.toString());
	}

}
//using System.Net.Security;
//using System.Security.Cryptography.X509Certificates;
private const String method = "GET";
static void Main(string[] args)
{
	String bodys = "";
	// 请求示例 url 默认请求参数已经做URL编码
	String url = "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=";
	HttpWebRequest httpRequest = null;
	HttpWebResponse httpResponse = null; 
	if (url.Contains("https://"))
	{
		ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult);
		httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url));
	}
	else
	{
		httpRequest = (HttpWebRequest)WebRequest.Create(url);
	}
	httpRequest.Method = method;
	if (0 < bodys.Length)
	{
		byte[] data = Encoding.UTF8.GetBytes(bodys);
		using (Stream stream = httpRequest.GetRequestStream())
		{
		stream.Write(data, 0, data.Length);
		}
	}
	try
	{
		httpResponse = (HttpWebResponse)httpRequest.GetResponse();
	}
	catch (WebException ex)
	{
		httpResponse = (HttpWebResponse)ex.Response;
	}
	Console.WriteLine(httpResponse.StatusCode);
	Console.WriteLine(httpResponse.Method);
	Console.WriteLine(httpResponse.Headers);
	Stream st = httpResponse.GetResponseStream();
	StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8"));
	Console.WriteLine(reader.ReadToEnd());
	Console.WriteLine("\n");
}
public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors)
{
	return true;
}
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range="
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)
url := fmt.Sprintf("https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=", params)
req, err := http.NewRequest("GET", url, nil)
if err != nil {
    panic(err)
}
req.Header.Set("Authorization", apiKey)

client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
    panic(err)
}
defer resp.Body.Close()

body, err := ioutil.ReadAll(resp.Body)
if err != nil {
    panic(err)
}

fmt.Println(string(body))
fetch('https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({"q":"\u5973\u88c5","page":"1","sort":"","price_range":""})// request parameters here
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
<script src="js/obapi.js"></script>
<script type="text/javascript">
obAPI.config({
    debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
    api_url: "https://api-gw.onebound.cn", // 
    api_key: "<您自己的apiKey>", // 必填,
    api_secret: "<您自己的apiSecret>", //
    lang: "cn", // 
    timestamp: "", // 必填,生成签名的时间戳
    nonceStr: "", // 必填,生成签名的随机串
    signature: "",// 必填,签名
    jsApiList: [] // 必填,需要使用的JS接口列表
});
</script>
<div id="api_data_box"></div>
<script type="text/javascript">
obAPI.exec(
     {
     "api_type":"goodfish",
     "api_name" : "item_search",
     "api_params": {"q":"\u5973\u88c5","page":"1","sort":"","price_range":""}//q=女装&page=1&sort=&price_range=,#具体参数请参考文档说明
     },
     function(e){
        document.querySelector("#api_data_box").innerHTML=JSON.stringify(e)
     }
);
</script>
require "net/http"
require "uri"
url = URI("https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body 
import Foundation
 
let url = URL(string: "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=")!
let task = URLSession.shared.dataTask(with: url) { data, response, error in
    guard let data = data else {
        print("Error: No data was returned")
        return
    }
     
    if let data = String(data: data, encoding: .utf8) {
        print(data)
    }
}
task.resume()
NSURL *myUrl = [NSURL URLWithString:@"https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range="];

NSMutableURLRequest *request=[NSMutableURLRequest requestWithURL:myUrl cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:60.0];

[request setHTTPMethod:@"GET"];
NSError *error;
NSURLResponse *response;

NSData *data = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];

NSString *result = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
NSLog(@"%@",result);
#include<stdio.h>
#include <stdlib.h>
#include<string.h>
#include<curl/curl.h>

int main(){
  CURL *curl;  
  CURLcode res;   
  struct curl_slist *headers=NULL; 

  char url[] = "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=";
  curl_global_init(CURL_GLOBAL_ALL); 
  curl = curl_easy_init(); 

  if(curl) {
    curl_easy_setopt(curl, CURLOPT_URL,url);
    headers = curl_slist_append(headers, "Content-Type: application/json"); 

    curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); 
    res = curl_easy_perform(curl);

    if(res != CURLE_OK){
      printf("curl_easy_perform(): %s\n",curl_easy_strerror(res));                     
    }
    curl_easy_cleanup(curl);          
  }
  curl_global_cleanup();
  return 0;
}
#include<iostream>
#include<string>
#include<curl/curl.h>

using namespace std;

static size_t Data(void *ptr, size_t size, size_t nmemb, string *stream)
{
    std::size_t realSize = size *nmemb;
    auto *realPtr = reinterpret_cast<char *>(ptr);

    for (std::size_t i=0;i<realSize;++i) {
        *(stream) += *(realPtr + i);
    }

    return realSize;
}

int main(){

     CURL *curl;
     CURLcode result;
     string readBuffer;
     curl = curl_easy_init();

     if(curl) {

         curl_easy_setopt(curl, CURLOPT_URL, "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=");
         curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
         curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, Data);
         curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);

         result = curl_easy_perform(curl);

         if(result == CURLE_OK) {
             cout<<readBuffer<<endl;
         }else{
             cerr<<"curl_easy error:"<<curl_easy_strerror(result)<<endl;
         }

         curl_easy_cleanup(curl);
     }
     return 0;
}
const https = require("https");

https.get("https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=", (resp) => {
  let data = "";

  resp.on("data", (chunk) => {
    data += chunk;
  });

  resp.on("end", () => {
    console.log(data);
  });
}).on("error", (err) => {
  console.log("Error: " + err.message);
});
import java.net.HttpURLConnection
import java.net.URL

fun main() {
    val url = URL("https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=")
    val con = url.openConnection() as HttpURLConnection
    con.requestMethod = "GET"

    val responseCode = con.responseCode
    if (responseCode == HttpURLConnection.HTTP_OK) { // success
        val inputLine = con.inputStream.bufferedReader().use { it.readText() }
        println(inputLine)
    } else {
        println("GET request failed")
    }
}
use std::io::{self, Read};
use reqwest;

fn main() -> io::Result<()> {

    let mut resp = reqwest::get("https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=")?;
    let mut content = String::new();
    resp.read_to_string(&mut content)?;

    println!("{}", content);

    Ok(())
}

library(httr)
r <- GET("https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=")
content(r)
url = "https://api-gw.onebound.cn/goodfish/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&page=1&sort=&price_range=";
response = webread(url);
disp(response);
响应示例
{
        "items": {
          "page": "1",
          "real_total_results": 3000,
          "total_results": 3000,
          "page_size": 30,
          "page_count": 100,
          "data_from": "alex",
          "item": [
            {
              "title": "ZARA女装羊羔毛仿皮毛一体外套冬季棉服加绒加厚保暖复古35 48242",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/3436556594/O1CN01VzG6RA1ya6ZaLJkCP_!!3436556594.jpg",
              "promotion_price": "125",
              "price": "125",
              "num_iid": "771552369438",
              "area": "浙江",
              "nick": "777-WANG",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01StQTYj1CMH7aW3v2m_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=771552369438"
            },
            {
              "title": "免费送】衣服都是全新或者九成新,部分带吊牌,直接拍下付款包邮 费,转给有需要的姐妹穿\n\n衣服太多了有:毛衣,外套,裙子,衬衫,裤子,短裙,t恤,短裤等❗❗\n\n[cool][hot]拍下备注我【衣身高体重+长穿码数】+\n+\n都是付邮免费送的,给姐妹们包个福袋❗❗❗\n+\n拍款太麻烦啦~++所以发福袋,福袋都是平时正常能穿的衣服,不会给你发大妈款,先到先得+,都是挑选过得好衣服,没有乱七八",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i3/O1CN01r97nG81qbSv8q2jc7_!!4611686018427381722-0-fleamarket.jpg",
              "promotion_price": "1",
              "price": "1",
              "num_iid": "857671649899",
              "area": "江苏",
              "nick": "小涵子女装店",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01FVjsJp1qbSuzuFXdu_!!4611686018427381722-0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=857671649899"
            },
            {
              "title": "秋冬新中式女装中国风改良黑色旗袍连衣裙,洗过一次水,未穿过 感兴趣的话点“我想要”和我私聊吧~",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i1/3710321480/O1CN01VNGgEo1Mnt9KtE8nJ_!!3710321480.jpg",
              "promotion_price": "67",
              "price": "67",
              "num_iid": "856584339427",
              "area": "广东",
              "nick": "一匹疯狂的野马i",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/126400154890990437/TB2mN5eiVXXXXbzXpXXXXXXXXXX_!!0-mytaobao.jpg",
              "detail_url": "https://www.goofish.com/item?id=856584339427"
            },
            {
              "title": "秋季新款慵懒风长袖针织衫设计感小众宽松黑色毛衣外套女开衫 偏远地区不包邮哈 拍下不退",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/3045152654/O1CN01zz4rDs1VTZvuKUGxo_!!3045152654.jpg",
              "promotion_price": "28",
              "price": "28",
              "num_iid": "776951424737",
              "area": "吉林",
              "nick": "麦芽的香气",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/O1CN01KwdmkZ29WP2fPMY49_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=776951424737"
            },
            {
              "title": "大码女装羊毛外套bffusive几乎全新正品包邮 红色,40%羊毛,175/90A,XXL,肩宽47cm,衣长85cm。  是外套,后面有收腰线,前面无扣是开衫设计,很好看。  [红旗]手机后置摄像头拍摄,无滤镜,发货前的衣服都会清洗消毒并熨烫!  二手物品,售出不退不换! #春装大码...",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i4/O1CN01noDELl1UQXsCdWfNP_!!0-fleamarket.jpg",
              "promotion_price": "40",
              "price": "40",
              "num_iid": "794207345852",
              "area": "河南",
              "nick": "兔子妈妈爱美丽",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01rW9hDI1UQXehhBucC_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=794207345852"
            },
            {
              "title": "闲置卫衣秋冬棕美拉德女装韩版时尚休闲宽松卫衣 穿过一次 满两件包邮",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i3/O1CN01J0y9nD2DfLKNwjNHJ_!!0-fleamarket.jpg",
              "promotion_price": "29",
              "price": "29",
              "num_iid": "753594227486",
              "area": "浙江",
              "nick": "ccIM",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01uAJnyo2DfLCHdZibP_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=753594227486"
            },
            {
              "title": "优衣库 女装 法兰绒格子衬衫(长袖休闲初秋薄外套… 感兴趣的话点“我想要”和我私聊吧~",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i4/196993935/O1CN01JUUuEY1ewHDeqqFXl_!!196993935.jpg",
              "promotion_price": "38",
              "price": "38",
              "num_iid": "847362512089",
              "area": "天津",
              "nick": "小丫么小美女",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i2/156710154964829538/TB2j9qoiVXXXXaOXpXXXXXXXXXX_!!0-mytaobao.jpg",
              "detail_url": "https://www.goofish.com/item?id=847362512089"
            },
            {
              "title": "出福袋吧 懒得一直拍照了 夏天的衣服裙子 4-6件  80包邮 冬天的卫衣外套裤子 2-3件 100包邮 还有一大堆衣服 等我慢慢整理",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i3/O1CN0121ALX11uccMyTRqua_!!0-fleamarket.jpg",
              "promotion_price": "10",
              "price": "10",
              "num_iid": "846984926528",
              "area": "福建",
              "nick": "圣诞岛摩羯座年糕",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN0135tqhs1uccMNdF9SE_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=846984926528"
            },
            {
              "title": "M码女卫衣,常规款加绒 本人165 95斤合身",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i1/O1CN01jgaDil1YGFQ4leF6E_!!0-fleamarket.jpg",
              "promotion_price": "19",
              "price": "19",
              "num_iid": "780412027359",
              "area": "江苏",
              "nick": "好吧坏吧随便吧",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/O1CN01WdBqZL1mbgDVSnq8Q_!!0-fleamarket.jpg",
              "detail_url": "https://www.goofish.com/item?id=780412027359"
            },
            {
              "title": "标价包邮M码衬衫+NAGA自制春秋美式复古玉米格长袖衬衣女潮 情侣领带衬衫外套设计感 状态还可以,实拍图如下,领带很有设计感,宽松款 低价二手出物 完美主义勿扰 不退不换 主页其他一起买可-5r",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN01fyWaTq2GOLaJLqYHJ_!!4611686018427387389-0-fleamarket.jpg",
              "promotion_price": "35",
              "price": "35",
              "num_iid": "856236660291",
              "area": "广东",
              "nick": "就喜欢买买买",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/O1CN01jaeArC2GOLXtLhpyW_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=856236660291"
            },
            {
              "title": "羽绒丝棉服,样子如图,颜色如图,尺寸如图,衣服码如图,牌子如 图,水洗标如图,便宜出售,包邮。",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN017sueiL1hJIZ9QfBhJ_!!53-fleamarket.heic",
              "promotion_price": "38",
              "price": "38",
              "num_iid": "757005515451",
              "area": "黑龙江",
              "nick": "哈尔滨市",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN01pAGa511hJIddCFU25_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=757005515451"
            },
            {
              "title": "全新,吊牌齐全,女装厚外套,个人闲置,原价980,现低价转卖 120元,江浙沪包邮。",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i4/O1CN01VLZUm01I4lenPjPTL_!!0-fleamarket.jpg",
              "promotion_price": "108",
              "price": "108",
              "num_iid": "801299786807",
              "area": "上海",
              "nick": "飞雪红龙",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i2/59210840/TB2grJTaGnyQeBjSspeXXa8WpXa_!!0-mytaobao.jpg",
              "detail_url": "https://www.goofish.com/item?id=801299786807"
            },
            {
              "title": "荷叶边毛衣套装 均码,很新 仅穿一次拍照 闲置物品不退不换!",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN01L2JENN2FpXTRKJ5LB_!!4611686018427379761-53-fleamarket.heic",
              "promotion_price": "26",
              "price": "26",
              "num_iid": "846295459602",
              "area": "贵州",
              "nick": "沐阳紫妃",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01Mv1hmu2FpXDOI5ZXb_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=846295459602"
            },
            {
              "title": "2023年春装新款长袖条纹开衫卫衣女设计感小众短款上衣薄款外 套",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/1954179553/O1CN01IUIG7e2KRKM2xz9uw_!!0-item_pic.jpg",
              "promotion_price": "19",
              "price": "19",
              "num_iid": "724929167376",
              "area": "河南",
              "nick": "甜甜水蜜桃",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/O1CN010KW4U22FdAmyBvQdq_!!4611686018427381494-0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=724929167376"
            },
            {
              "title": "针织假两件上衣 软软糯糯的 很好穿的 新的哦!买来只下水洗过一次哦 没有穿过的 实体店239买的 均码 喜欢的姐妹入哦! 百搭款不挑人哦 而且超级显皮肤白的",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i4/O1CN01Mc8FIA1ZQ9ebrIm2r_!!53-fleamarket.heic",
              "promotion_price": "29",
              "price": "29",
              "num_iid": "840337283043",
              "area": "重庆",
              "nick": "懿家小淘店",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i3/6000000006720/O1CN01yEeybi1zVoGyoM3us_!!6000000006720-0-userheaderimgshow.jpg",
              "detail_url": "https://www.goofish.com/item?id=840337283043"
            },
            {
              "title": "全新磨毛格子长袖衬衫女春秋季新款时尚韩版休闲百搭格纹衬衣外套 店面房租到期亏钱处理,春秋可做外套,夏季做防晒衣,女神们必备单品!买它!自留款质量很好的,穿着很洋气哦!  含棉:81-90% 颜色:蓝色,粉色,咖啡,绿色 尺寸:M:110斤以内           L:110-125斤       ...",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i3/O1CN01y1dHr71KTcMPNARYh_!!53-fleamarket.heic",
              "promotion_price": "35",
              "price": "35",
              "num_iid": "780964684721",
              "area": "浙江",
              "nick": "香菇兔兔",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN01EBuu0c1KTc5LEIPXg_!!0-fleamarket.jpg",
              "detail_url": "https://www.goofish.com/item?id=780964684721"
            },
            {
              "title": "学院风绿色拼黑色宽条纹毛衣 圆领套头 刺绣徽章 有弹力均码 仅试穿",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i1/O1CN01TkDGuO1T4GyTZz18T_!!0-fleamarket.jpg",
              "promotion_price": "13",
              "price": "13",
              "num_iid": "772687576353",
              "area": "上海",
              "nick": "黑雪姬吖",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01QOsKL51T4GwaTjfWT_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=772687576353"
            },
            {
              "title": "HM毛衣,全新,几乎都没穿过,个别穿过1.2回,喜欢的姐妹可 以入手,物品一旦售出不退不换",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN01BRuYT42KYCZ9FO4aq_!!4611686018427386000-0-fleamarket.jpg",
              "promotion_price": "30",
              "price": "30",
              "num_iid": "851999628480",
              "area": "辽宁",
              "nick": "月姐月姐你最大",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01VUakmv2KYCWjSPCG6_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=851999628480"
            },
            {
              "title": "闲置镂空开衫针织外套 感兴趣的话点“我想要”和我私聊吧~",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN016Dnixr2LHXmJoc9in_!!4611686018427383715-0-fleamarket.jpg",
              "promotion_price": "30",
              "price": "30",
              "num_iid": "853812166946",
              "area": "上海",
              "nick": "布娜娜酱",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/6000000002528/O1CN01Pb87Kq1UXrtz8TUOk_!!6000000002528-0-userheaderimgshow.jpg",
              "detail_url": "https://www.goofish.com/item?id=853812166946"
            },
            {
              "title": "大码胖MM高领毛衣女套头韩版秋冬中长款3XL码 没穿几次 半胸围约57cm 衣长约94cm 有购买记录 188买的 腾柜子便宜出",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/2926873427/O1CN011bBbmWK4F625Axp_!!2926873427.jpg",
              "promotion_price": "62",
              "price": "62",
              "num_iid": "688111494871",
              "area": "山西",
              "nick": "婲婲仙",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/O1CN01Zdl5751nsSNuTYJcd_!!0-fleamarket.jpg",
              "detail_url": "https://www.goofish.com/item?id=688111494871"
            },
            {
              "title": "标价包邮 L码。NINI ONE 直筒阔腿牛仔裤 微胖显瘦拖 地裤特殊做旧面料高腰显瘦女 原价138购入 有穿着痕迹 超级显瘦 二手出物 完美主义勿扰 不退不换 主页其他一起买可-5r",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i3/O1CN01K3Zs5D2GOLa1LiWSy_!!4611686018427387389-0-fleamarket.jpg",
              "promotion_price": "36",
              "price": "36",
              "num_iid": "851201002507",
              "area": "广东",
              "nick": "就喜欢买买买",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/O1CN01jaeArC2GOLXtLhpyW_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=851201002507"
            },
            {
              "title": "蝴蝶结针织衫上衣设计感重工短款针织毛衣开衫 感兴趣的话点“我想要”和我私聊吧~",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i4/O1CN01bVfSRa1eSy6CkjTna_!!0-fleamarket.jpg",
              "promotion_price": "20",
              "price": "20",
              "num_iid": "770336814213",
              "area": "广东",
              "nick": "快樂亚军",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN016i2MOb1eSxv5cJrRO_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=770336814213"
            },
            {
              "title": "黑色毛衣女秋冬新款重工烫钻亮晶晶内搭半高领长袖破边针织衫,M 码,九成新,适合115斤内的妹子,搭裤子裙子都非常好看,店购,清衣柜优惠出",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i4/O1CN01lsNZhY1bM9LZkL1gO_!!0-fleamarket.jpg",
              "promotion_price": "35",
              "price": "35",
              "num_iid": "763357744475",
              "area": "山西",
              "nick": "优秀的小玖",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/6000000007617/O1CN01flnmxm268dUad97Ex_!!6000000007617-0-userheaderimgshow.jpg",
              "detail_url": "https://www.goofish.com/item?id=763357744475"
            },
            {
              "title": "灰粉拼接,颜色比较显白,是棉服,写的m码 感兴趣的话点“我想要”和我私聊吧~",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i4/O1CN01Pzqyhv1inMGX0xxtJ_!!0-fleamarket.jpg",
              "promotion_price": "39",
              "price": "39",
              "num_iid": "845426354070",
              "area": "江苏",
              "nick": "我是小橙子爱吃糖",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i2/6000000004063/O1CN011wRp7j1fstvNJyFc3_!!6000000004063-0-userheaderimgshow.jpg",
              "detail_url": "https://www.goofish.com/item?id=845426354070"
            },
            {
              "title": "婉甸粉桔色长袖毛织套头衫女装羊毛混… 颜色~桔粉色~XS码\n\n几乎全新只穿半天超低出手\n\n不退不换",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i3/397878086/O1CN01V2r4Pd29bRHyhzXBh_!!397878086.jpg",
              "promotion_price": "68",
              "price": "68",
              "num_iid": "856238857350",
              "area": "江西",
              "nick": "姝澴",
              "userAvatarUrl": "http://gtms03.alicdn.com/tps/i3/TB1LFGeKVXXXXbCaXXX07tlTXXX-200-200.png",
              "detail_url": "https://www.goofish.com/item?id=856238857350"
            },
            {
              "title": "哥弟全新2024年秋冬季女装最新款百搭时尚显瘦半高领打底衫女 秋冬洋气内搭长袖上衣修身气质羊毛针织衫 [100%全新]    码数全齐尺码:S=2码、M=3码、L=4码、XL=5码、 颜色:(咖啡色、杏色、灰色、红色、绿色、蓝色、黑色) 全国包邮-除偏远地区(新疆、西藏、青海) 支持七天无理由退换货!...",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN01plkZ3R1FEtVkzolm2_!!0-fleamarket.jpg",
              "promotion_price": "75",
              "price": "75",
              "num_iid": "753886324149",
              "area": "湖南",
              "nick": "品牌折扣女装店",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN01xMeurf1FEtROHci0I_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=753886324149"
            },
            {
              "title": "大码秋季新款女装一整套时尚撞色遮肉慵懒针织毛衣上衣阔腿裤套装 感兴趣的话点“我想要”和我私聊吧~",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i1/O1CN01Iw2VmW1rkugZWHvK0_!!0-fleamarket.jpg",
              "promotion_price": "33",
              "price": "33",
              "num_iid": "837500226151",
              "area": "江苏",
              "nick": "楚楚baby",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN01KQ3GLN1rkufuzCj8f_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=837500226151"
            },
            {
              "title": "V领针织开衫女春秋2024新款设计感小众休闲复古撞色拼接毛衣 外套",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN016DraEo1WAAzYlFzxr_!!53-fleamarket.heic",
              "promotion_price": "25",
              "price": "25",
              "num_iid": "845325722288",
              "area": "广东",
              "nick": "肉骨茶任",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01qVxtcd1WAAoFtpPvj_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=845325722288"
            },
            {
              "title": "仅试穿 出Acaine无袖连衣裙 主页两件及以上包邮",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/857041471/O1CN01VFIV261MjlOBVYSwD_!!857041471.jpg",
              "promotion_price": "30",
              "price": "30",
              "num_iid": "853694159191",
              "area": "上海",
              "nick": "布娜娜酱",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i1/6000000002528/O1CN01Pb87Kq1UXrtz8TUOk_!!6000000002528-0-userheaderimgshow.jpg",
              "detail_url": "https://www.goofish.com/item?id=853694159191"
            },
            {
              "title": "闲着衣服 上衣S码 8元一件 满25包邮 感兴趣的话点“我想要”和我私聊吧~",
              "pic_url": "http://img.alicdn.com/bao/uploaded/i2/O1CN01jzlCeM21HHEXLsqlM_!!4611686018427386607-0-fleamarket.jpg",
              "promotion_price": "8",
              "price": "8",
              "num_iid": "855746099248",
              "area": "广东",
              "nick": "BB12312312",
              "userAvatarUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01FqJWfT21HHCxKNXhf_!!0-mtopupload.jpg",
              "detail_url": "https://www.goofish.com/item?id=855746099248"
            }
          ]
        },
        "error_code": "0000",
        "reason": "ok",
        "secache": "2203d92b222aafd3c5f3c4ed77be6706",
        "secache_time": 1732672841,
        "secache_date": "2024-11-27 10:00:41",
        "translate_status": "error",
        "translate_time": 0.001,
        "language": {
          "current_lang": "cn",
          "source_lang": "zh-CN"
        },
        "error": "",
        "cache": 0,
        "api_info": "today:5 max:5000 all[11=5+5+1];expires:2025-12-18",
        "execution_time": "3.721",
        "server_time": "Beijing/2024-11-27 10:00:41",
        "client_ip": "106.6.34.151",
        "call_args": [],
        "api_type": "goodfish",
        "translate_language": "zh-CN",
        "translate_engine": "baidu",
        "server_memory": "3.65MB",
        "request_id": "3.67467d4622d87",
        "last_id": "3764006089"
      }
异常示例
{
  "error": "item-not-found",
  "reason": "没找到",
  "error_code": "2000",
  "success": 0,
  "cache": 0,
  "api_info": "today:0 max:10000",
  "execution_time": 0.081,
  "server_time": "Beijing/2023-12-15 17:44:00",
  "call_args": [],
  "api_type": "goodfish",
  "request_id": "3.67467d4622d87"}
相关资料
错误码解释
状态代码(error_code) 状态信息 详细描述 是否收费
0000success接口调用成功并返回相关数据
2000Search success but no result接口访问成功,但是搜索没有结果
4000Server internal error服务器内部错误
4001Network error网络错误
4002Target server error目标服务器错误
4003Param error用户输入参数错误忽略
4004Account not found用户帐号不存在忽略
4005Invalid authentication credentials授权失败忽略
4006API stopped您的当前API已停用忽略
4007Account stopped您的账户已停用忽略
4008API rate limit exceeded并发已达上限忽略
4009API maintenanceAPI维护中忽略
4010API not found with these valuesAPI不存在忽略
4012Please add api first请先添加api忽略
4013Number of calls exceeded调用次数超限忽略
4014Missing url param参数缺失忽略
4015Wrong pageToken参数pageToken有误忽略
4016Insufficient balance余额不足忽略
4017timeout error请求超时
5000unknown error未知错误
API 工具
如何获得此API
立即开通 有疑问联系客服QQ:QQ:3142401606 3142401606 万邦科技企业微信