凡邦微信公众号根据关键词取文章列表 API 返回值说明

item_search-根据关键词取文章列表 [查看演示] API测试工具 注册开通

weixin.item_search

公共参数

请求地址: https://api-gw.fan-b.com/weixin/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=连衣裙&

参数说明:q:关键词,没有其他参数

响应参数

Version: Date:

名称 类型 必须 示例值 描述
items
items[] 0 按关键词取文章列表
请求示例
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&"
<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.fan-b.com/help/demo/sdk/demo-sign.php
$method = "GET";
$url = "https://api-gw.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&";
$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.fan-b.com/help/demo/sdk/onebound-api-sdk.zip
include ("ObApiClient.php");

$obapi = new otao\ObApiClient();
$obapi->api_url = "http://api-gw.fan-b.com/";
$obapi->api_urls = array("http://api-gw.fan-b.com/","http://api-1.fan-b.com/");//备用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" =>"weixin",
	                "api_name" =>"item_search",
	                "api_params"=>array (
  'q' => '连衣裙',
)
                )
            );
 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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&";
		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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&";
	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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&"
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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&", 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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({"q":"\u8fde\u8863\u88d9"})// 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.fan-b.com", // 
    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":"weixin",
     "api_name" : "item_search",
     "api_params": {"q":"\u8fde\u8863\u88d9"}//q=连衣裙&,#具体参数请参考文档说明
     },
     function(e){
        document.querySelector("#api_data_box").innerHTML=JSON.stringify(e)
     }
);
</script>
require "net/http"
require "uri"
url = URI("https://api-gw.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&")
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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&")!
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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&"];

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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&";
  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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&");
         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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&", (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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&")
    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.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&")?;
    let mut content = String::new();
    resp.read_to_string(&mut content)?;

    println!("{}", content);

    Ok(())
}

library(httr)
r <- GET("https://api-gw.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&")
content(r)
url = "https://api-gw.fan-b.com/weixin/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&";
response = webread(url);
disp(response);
响应示例
{
  "items": {
    "url": "https://weixin.sogou.com/weixin?type=2&query=洲际导弹&page=&ie=utf8",
    "keyword": "洲际导弹",
    "list_page": null,
    "total_results": 8046,
    "real_total_results": 8046,
    "pagecount": 804,
    "list_count": 8046,
    "item": [
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FzYDoI5AgJrt2WdNTDSTTCNJvlxia4uXwtSjpSLwLSOQgOkWYBp9DY3nHEiaEhHEqJFuxyXCRXUhGP0zXc569tExw%2F0%3Fwx_fmt%3Djpeg&amp;sign=dcc4d32a0b40b370c1ad1a712c21af84",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd9t40w9AYZS86EehuX0bUoQLqQ2JXHIu6kS4boKrH3Fa2EVmHcXpKl6R3zU76ccc1kP8thbf2Ze9lu5ktvotduxeeZ-avvKG2-n9L8GJ_zZkbNO7L82gkzK8XpuIfRd6JT7i3tXCMXXlOxUguE4Ev-t0ZvASPobsNweDX8niGM_TDRtmyIGw2VAg..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=NY3A9gduRRaymuKgR2OrF6XYD2KCm5DM84vwCy1yCZu-H6*-Q*sHKLtLUqwwRdPN8O5fYBQHUiavt8JQDzmOCu6AlggFI8c6gKEdNZUlkwKpj1kILNldjI*DJzdMGk*8&new=1",
        "title": "洲际导弹发射,我们是如何掌握&ldquo;真理&rdquo;的?",
        "description": "开展以洲际导弹为主的型号技术协作攻关.1971年夏,凝聚着众人心血的中国第一枚洲际导弹达到了出厂要求,运往位于大西北的东风..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FR5G41XEd3GgdyL6n0bRmicXUBJYaAqRR6sQDVF7pM3Q5VPgcAo3VSJnjrP05rvia4jlx3iaicQfYkia380GrtS8ITZg%2F0%3Fwx_fmt%3Djpeg&amp;sign=0f80ba6c58e9a9884f8a8b792bc69141",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd9SSE59F07i-eaAmXMd6GTTXTaIqy0VtDKdtJ6FQJG1RvZ_g4Xou13lquPPDJwrLFpc93uPiAxF4_U4z-rQpA4NNx0xNj_4rTDdVFXg9A6-x-ZZM266EYPja5JHKhsJJz02z62rPcMzZVqMgs6CZ3g11kAX7AAbIDbxUcBq-Je579e0WC6Sbi7DA..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=Or7BC8Rbz5DxB55ysdt8aUC1j1UrMweSBLHiTze5nCNpr1*YzZrkH-UIkz-ug*peO6qQcgz0cpxOBKlXfYDa*pI7dNh6EUW07e1sbNd2EH3nMOS8Ruq2B0xGoMqGZNLV&new=1",
        "title": "洲际导弹发射一个月后,中国成为了联合国五常",
        "description": "是洲际导弹送过来的. 3中国的陆军的确天下无敌,就算是同样擅长陆军的苏联,1969年和中国在珍宝岛爆发战役后,也没占到中国便..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2Fp1VfGFTkFsLQMTmm5oFfoYF000XrsDlJVZR3X8PYfyOzUaUwLzehqv7oWZ6CWsBKCqqmns68m1tsDYicDS0iaIqA%2F0%3Fwx_fmt%3Dpng&amp;sign=e40472fcc9690c8df218c1965a3202df",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd9kWF0c_AOXzFRS5cUWbnhqKQhWDM-ViVXGDtADrKjRSAD2FlocJQ9NCuLgn1xd8FCxsgWVDHqrtdr20_rbBVKY_PFa81mRXBWvetBepWTc66cX8FwCPRv8xvKjI1va1vQPpQMrbYja4p_rZ5jUZ8hi65s1Stl4FHEcvn0aK5yS3ZhWLv6O878UA..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=Cfwz-S7mfLEPtsuL-NpedkyyalN1a6RZkyBkVYtg2cTMd5rDVT*3Adxuo5dhcwuABNYgCuCzhPCdA6a1dnSFz7T3NdBImG6aPDD-X8tg6QuigShccWm1XsLjBTbsNyTs&new=1",
        "title": "朝鲜的&ldquo;洲际导弹&rdquo;真能打到美国核心本土吗?",
        "description": "其飞行距离可能超过6000公里,射程远及美国本土,达到洲际导弹级别.同时,朝鲜中央通讯社网站刊登了朝鲜国防科学院公报,称试..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2F9cFQo01Qr6FtGicwibZsouP1Tib1AO9MpaB36o4rDdmakvrdjs6mo1RUPRU7emGeSCYtV7q3Uv5ibZRgiclSk7KhfCw%2F0%3Fwx_fmt%3Djpeg&amp;sign=4f255ab9582e574028757867523756d3",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd972AX2PGSzj99mVLu5PWPm2_2XWrlc-HAgY6aboarZmzCLy5mRd0_XKLQACQZfDBwGTVQxf-vx-r1FR-j7w3U4-6qnvP5PJnSyP-C1hxy_Wm3-PxERX-5LVxwzuCmoY9TwKkbC0wWssPpSr8edWyo1agA0gmi9WRTWWxLTnvT5XdhlgeRt7bSzA..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=n6X6PwStrvZDtJ*2mLTdbt3rMRm6eNNc-w5Fp*FNipQh3o*sxd8U6*EjPbqC*D0xMHo5hfz9ZiWPVGsPLR4cBHpzusPyfaXBFWlIiVv-A5OIDSQkyQrUPdlWYhv81BWM&new=1",
        "title": "&ldquo;中国洲际导弹核弹头数量超美国&rdquo;!!??",
        "description": "美国《防务新闻》8日发表了一个&ldquo;大发现&rdquo;:&ldquo;在洲际导弹计划的某些方面,美国可能不再享有对中国的数量优势&rdquo;.换成人话,就是..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FRIQJDM7oiaje5AUyZicT5GCgNeRRID6lfCj8RBXDZDTfOyicKpSbvkibbZtIKRvHiauzIicLBlnvxa20SbYXNG7e02TQ%2F0%3Fwx_fmt%3Djpeg&amp;sign=01ccf8b89aeea6ddb9ab1722e2727514",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd97USoIaM57xt9-9M7u-17PZteg4C-HA3L6W0YIH_8z3hCqPaRtzr8tiQsPvTHj55XSAlfMId5-D0vJjSkJmGnw0jtQnnQe1S0d8ldVDWYlZ3kvLPYMEqz9OzsC1Iy1_FD_eCdf6ZVF8TtGZU45eGnb7-hPa9nYY9TqJAZsD_dwqNe0WC6Sbi7DA..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=rpDp0aT9RkY9LbSCWb*N9rRh43dI2jE8vh0UqnICqYSHg9tUHpeKI5uAAa9846cx3kiR7lvB2ojVK-5NSp*F*sH8TcPktqx5tn1Jf065M-oODOX-MaIFgx3uto1vZx0V&new=1",
        "title": "美军试射一枚洲际导弹!很少提起的美国洲际弹道导弹实力如何?",
        "description": "所以这次美国洲际导弹试射,并没有引起什么大波浪,远没有朝鲜试射洲际导弹的关注度高.而且在以往新闻中,也很少看到关于美国..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2Foq1PymRl9D6sfeIibzywt1KPdlL9dNU6F9u2qd8u88xnqqMsrLMUpTuyOiaaD1wxJKmluJiclUAZuBaHnckKgBNJg%2F0%3Fwx_fmt%3Djpeg&amp;sign=7372297a3b320fd100c7fbf1451739f6",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd9e2WHizIfjDXzBxYNOQG-DnX6_2AsqP43EelBsKK8k6mzc8aHTtpHHuB4wxMIOmEo-qwvdXKZji5cSV020T606Ssu0Y1CJkW5446cOCgk0msqr7CPc8nQjpvAFxc61pjGdhnS-oTBKdN3DI9G9Wxnqj99g68h6FYCqnc_ACMxp1kCn9lOoZLP2Q..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=ZSVhPYQJR8yPyPNAf6dATJvwVRDLi7pmgCRBNESGH3*5B2-c5OGtqsCCju3Q*4mLZU0tLuXMnJCh6WzZXDXGIqSBJT-wiAP*mr-X7OLU9SxciFtr5jPfzpTCpmu4I-6K&new=1",
        "title": "最新 | 美军成功进行洲际导弹拦截试验 明确表示针对朝鲜",
        "description": "美联社援引美国军方的话称,美军于30日成功进行了洲际弹道导弹拦截试验.美军成功进行洲际导弹拦截试验美军从加利福尼亚州范登..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FG7BufKR4HqlTcn3rnBCwb9R9L7hak7xdEA7usVWxqaVrkNMp0kg9ENbNia1q7Zrsrj1VFZpuDNIoDmBhFxp3Yuw%2F0%3Fwx_fmt%3Djpeg&amp;sign=6004b03d0627431587e40aca9078907e",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd94HMmbZuwdUAtAHVi4yOf75fVINivrXQNyIvvlsTY36M_m9B0iGosbkFATPBF83FRJktGCCtWSOxSw0pJhZyviN2VtmDCTel1tYk6OBN38reFrlG-yJdtiilGAhWpY5vkiszMk5FbqEqeRCovw0Gs3vjhf4BRgg_y5SRPVq_oa3D1AfaFW2DefQ..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=6MwLUyKhMGJ3ayRXLjCZBRyXYpCVpQWhCWMrcifCZSChraKuOvLmH44vtJYsVv4m3zTw4zFqTW32j24wqaWmm-9it32BByPBQhR-mv9mfA70N0WuBtZ--zoot3VatRB4&new=1",
        "title": "该国首射新型潜射洲际导弹,为何全球高度关注",
        "description": "日前一则法国试射洲际导弹的消息引发外界高度关注.为什么呢?因为在人们的印象里法国并不是太热衷于试射导弹.还有一个很重要..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FRfgkRDTlNI6POmicCCV0qrCc3bZWnnwymzLtGHraPztfGeUibcTLZcj4IqcD8sC23RPXEwvOCv8515LooIvRXYvw%2F0%3Fwx_fmt%3Djpeg&amp;sign=0e6c5e6fafe0ef3d455f4c7aad6da730",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd9_HsFx4W12Ukgof798hWyvWkELyUsiPa46ATwcsBS3yYsCUaf_ei9oJ4UYW3-9xyMLnRqtyHBVXz62i4lfVOR6Q12H9N5AYcCN6NRr5LmIY5vL4GZinPPPBTuKsc6Cz7V-PDcwwU7IJCsCnHRq64a5T4i3nabDD5uzIadO2n8BHjzAjcIGepUqA..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=IsDDrQYir7IVbvpTPnpmdZm28WLCJIjtVDXwfmwJhR4dyK1pyrvlewQ7ntPxXvYs*sAQzo5rkr1q4uHfcPOBSlkwpL6*rw21jR1GS477I3byjS8TnvKyHT4vksp2-qL-&new=1",
        "title": "如果要说洲际导弹,就不能只说洲际导弹&hellip;&hellip;",
        "description": "近日火箭军成功发射洲际弹道导弹举世瞩目但如果要说洲际导弹就不能只说洲际导弹要说那些在民族危亡之际发出的震耳欲聋的怒吼要..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FZibeuu43K6eghLU27pb439MhiaABCjVV0lKQmwsEaRpzHYIzIQQNWqKnUDhGY8RkuiaibzBAyg5vRWOT1uDf2F6aKA%2F0%3Fwx_fmt%3Djpeg&amp;sign=9cbb8ca94a54a623e91f3bd5e892dcb7",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd9OzpfmaPLI45nZn8yyHvtTF5G68fWfTQD_tvvsk7ZUjSwaon07uRSMlJRGFclaqQZNCUPocgQPIFO88vb8hHFjTRaADBgDVHV8RXUPb3Ce9u_rGtgcaY1x2-TnNG9pX0bHYvB2A1xuCufbYSXWoAx555oXuV_93Faj0GEbgMHFxdj3x9Nw6p-Fg..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=ppd751uIlTqeRGQHtSG14tV-zmUrzn0T3qeQMCy9ACSuTE-m5RyJqWv*T75Sin5M7rRQb34Zrk19qKEXRuTvpoVWdPl*D3ouEXjxDR-GDWPltdx3DkKqLC6V*jjxceMY&new=1",
        "title": "金正恩携女儿,出现在洲际导弹训练中",
        "description": "洲际导弹的&ldquo;实战部署在即&rdquo;.12月18日,朝鲜发射的&ldquo;火星炮-18&rdquo;导弹.图/视觉中国分析认为,朝鲜可能在近期继续进行&ldquo;火星炮-..."
      },
      {
        "gongzhong": null,
        "img": "//img01.sogoucdn.com/v2/thumb?appid=201147&amp;url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FnrXWFDqd3QaLrfFyd6vf1moVOTDqIoeiaxPFcTVPAHWHPMhrGLp1ibDicNPicGHuDj4pKxEH3EZVkRspXMSGEPS6cw%2F0%3Fwx_fmt%3Djpeg&amp;sign=67c77d9585ddb24df4f78c05452e9104",
        "time_stamp": "1970-01-00 08:00:00",
        "url": "https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgSx-4yEwvX0yDSxkKVxFVPS3iQWykYhd-51qXa8Fplpd9NTES6nkx0agUQmGXmKakWsxhD1EXMgj9L6zXPiEwnjXNRscUWRkL6F-LRewfIvMsEShwxS1F1KbDQBvW6cWWlR9G-FRauDn_qnoropf4QbROmE7uV2a1ad2KvIREnVhB8uR-GYhB_FfSKwJcC-x0rULsziTnXgMZjEwpmMyvlg15Nu7CnoSqqg..&amp;type=2&amp;query=%E6%B4%B2%E9%99%85%E5%AF%BC%E5%BC%B9&amp;token=empty",
        "z_url": "https://mp.weixin.qq.com/s?src=11&timestamp=1729747425&ver=5585&signature=YADOmQDUAk-ZC9dN5tmcEQQR-kBUhNL8M-e043rNeZwUXUpuqGBIOs*scHoBq8FzRNr-aw7i*1pnzfFqFUUnZTjQ4Bwo5JGmWYmvMXpfRT84vVmbqxpyGzbbuaj0vCQE&new=1",
        "title": "法国试射最新型洲际导弹",
        "description": "M51.3潜射洲际导弹突防能力更强,命中精度更高.邵永灵:M51洲际导弹的射程达到了1万公里以上,可以携带6枚至10枚TN-75型核..."
      }
    ]
  },
  "error_code": "0000",
  "reason": "ok",
  "secache": "f64b988be14ba9e5cb027baae77e7287",
  "secache_time": 1729747426,
  "secache_date": "2024-10-24 13:23:46",
  "translate_status": "",
  "translate_time": 0,
  "language": {
    "default_lang": "cn",
    "current_lang": "cn"
  },
  "error": "",
  "cache": 0,
  "api_info": "today:53 max:10000 all[4226=53+43+4130];expires:2030-10-30",
  "execution_time": "0.799",
  "server_time": "Beijing/2024-10-24 13:23:46",
  "client_ip": "220.177.180.75",
  "call_args": {
    "q": "洲际导弹"
  },
  "api_type": "weixin",
  "translate_language": "zh-CN",
  "translate_engine": "",
  "server_memory": "0.79MB",
  "request_id": "gw-4.6719d9e1a9713",
  "last_id": "3637662613"
}
异常示例
{
  "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/2020-06-10 23:44:00",
  "call_args": [],
  "api_type": "weixin",
  "request_id": "1ee0ffc041242"}
相关资料
错误码解释
状态代码(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:271449542271449542(微信同号)