Contact Us
Back top
Current Location : APIs > 东方财富股吧
东方财富股吧 Transactions( 214 )

东方财富股吧

Intro. :

Tag : 股吧 On Shelves Time : 2016-12-30

Type :

文章 用户信息 评论

Tutorials

Total invocations(updated per hour)

东方财富股吧文章 Free Test Now

API Mark

Example

-- 请求示例 url 默认请求参数已经做URL编码 curl -i "http://api01.bitspaceman.com:8000/post/eastmoneyguba?apikey=&kw=%E4%B8%8A%E6%B5%B7%E8%8E%B1%E5%A3%AB"
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 = "http://api01.bitspaceman.com:8000/post/eastmoneyguba?apikey=&kw=%E4%B8%8A%E6%B5%B7%E8%8E%B1%E5%A3%AB"; 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 = "http://api01.bitspaceman.com:8000/post/eastmoneyguba?apikey=&kw=%E4%B8%8A%E6%B5%B7%E8%8E%B1%E5%A3%AB"; 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; }
<?php $method = "GET"; // 请求示例 url 默认请求参数已经做URL编码 $url = "http://api01.bitspaceman.com:8000/post/eastmoneyguba?apikey=&kw=%E4%B8%8A%E6%B5%B7%E8%8E%B1%E5%A3%AB"; $curl = curl_init(); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method); curl_setopt($curl, CURLOPT_URL, $url); 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)); ?>
# coding:utf-8 """ Compatible for python2.x and python3.x requirement: pip install requests """ from __future__ import print_function import requests # 请求示例 url 默认请求参数已经做URL编码 url = "http://api01.bitspaceman.com:8000/post/eastmoneyguba?apikey=&kw=%E4%B8%8A%E6%B5%B7%E8%8E%B1%E5%A3%AB" headers = { "Accept-Encoding": "gzip", "Connection": "close" } if __name__ == "__main__": r = requests.get(url, headers=headers) json_obj = r.json() print(json_obj)

Request Field( Params marked* means users should choose one from the each marked items to fill in.)

Property Name Type Mandatory Example Description
kw string 上海莱士 查询关键词
pageToken string 翻页值,从API返回结果可以拿到
type string 0

Response Fields

Property Name Type Example Description
  • data array [...] 数据内容列表
  • id string 637783504 文章ID
  • posterId string 8199111560011964 发布者ID
  • posterScreenName string 长春人88 发布者名称
  • publishDate number 1493993625 发布时间:时间戳格式
  • publishDateStr string 2017-05-05T14:13:45 发布时间:字符串格式
  • title string 特大利空 文章标题
  • content string 初步估计同方收购对象就是莱士股份的股东科瑞天诚投资公司和莱士中国持有的股份,多年 文章内容
  • imageUrls string null 图片链接
  • url string http://guba.eastmoney.com/news,002252,63 文章链接
  • likeCount number 7 点赞数
  • commentCount number 11 评论数
  • shareCount number 7 转发数
  • viewCount number 6937 观看数
  • source string 股吧网页版 来源
  • pageToken string 2 翻页值
  • hasNext boolean true 是否有下一页
  • retcode string 000000 返回状态码
  • dataType string post 本次查询的api类型
  • appCode string eastmoneyguba 本次查询的api名

Returns The Sample

{
    "data": [
        {
            "id": "637783504",
            "posterId": "8199111560011964",
            "posterScreenName": "长春人88",
            "publishDate": 1493993625,
            "publishDateStr": "2017-05-05T14:13:45",
            "title": "特大利空",
            "content": "初步估计同方收购对象就是莱士股份的股东科瑞天诚投资公司和莱士中国持有的股份,多年来莱士股份就是一个庄股价格早已经上涨数十倍,此时因为市场原因和解禁股即将到期两大股东背后的力量要兑现利润所以让同方来当接盘侠。初步估计卖给同方14亿股左右.其中10亿股作价10元左右,远远低于公司目前...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,637783504.html",
            "likeCount": 7,
            "commentCount": 11,
            "shareCount": 7,
            "viewCount": 6937,
            "source": "股吧网页版"
        },
        {
            "id": "637725874",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1493986123,
            "publishDateStr": "2017-05-05T12:08:43",
            "title": "上海莱士:关于重大事项继续停牌的公告",
            "content": "公告日期:2017-05-06 证券代码:002252 证券简称:上海莱士 公告编号:2017-044  上海莱士血液制品股份有限公司  关于重大事项继续停牌的公告  本公司及董事会全体成员保证公告内容真实、准确和完整,并对公告中的虚假记载、误导性陈述或者重大遗漏承担责任。  特...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,637725874.html",
            "likeCount": 1,
            "commentCount": 18,
            "shareCount": 12,
            "viewCount": 29947,
            "source": "股吧网页版"
        },
        {
            "id": "637178258",
            "posterId": "5557094425854894",
            "posterScreenName": "letwin",
            "publishDate": 1493905253,
            "publishDateStr": "2017-05-04T13:40:53",
            "title": null,
            "content": "看来还要继续停牌了 呵呵",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,637178258.html",
            "likeCount": 0,
            "commentCount": 14,
            "shareCount": 11,
            "viewCount": 7609,
            "source": "东方财富网Android版"
        },
        {
            "id": "636167265",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1493726308,
            "publishDateStr": "2017-05-02T11:58:28",
            "title": "上海莱士:关于全资子公司郑州莱士血液制品有限公司出售资产的公告",
            "content": "公告日期:2017-05-03证券代码:002252 证券简称:上海莱士 公告编号:2017-042  上海莱士血液制品股份有限公司  关于全资子公司郑州莱士血液制品有限公司出售资产的公告本公司及董事会全体成员保证公告内容真实、准确和完整,并对公告中的虚假记载、误导性陈述或者重大...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,636167265.html",
            "likeCount": 2,
            "commentCount": 8,
            "shareCount": 5,
            "viewCount": 22026,
            "source": "股吧网页版"
        },
        {
            "id": "635394250",
            "posterId": "2912094343331684",
            "posterScreenName": "黑龙江哈尔滨888",
            "publishDate": 1493435077,
            "publishDateStr": "2017-04-29T03:04:37",
            "title": null,
            "content": "大股东,第一大股东增持2亿股,谁给我分析一下",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,635394250.html",
            "likeCount": 2,
            "commentCount": 10,
            "shareCount": 9,
            "viewCount": 8085,
            "source": "东方财富网Android版"
        },
        {
            "id": "631895586",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1492761735,
            "publishDateStr": "2017-04-21T08:02:15",
            "title": "上海莱士:关于股东莱士中国部分股份质押及解除质押的公告",
            "content": "公告日期:2017-04-22 证券代码:002252 证券简称:上海莱士 公告编号:2017-032  上海莱士血液制品股份有限公司  关于股东莱士中国部分股份质押及解除质押的公告  本公司及董事会全体成员保证公告内容真实、准确和完整,并对公告中的虚假记载、误导性陈述或者重大遗...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,631895586.html",
            "likeCount": 8,
            "commentCount": 3,
            "shareCount": 3,
            "viewCount": 22354,
            "source": "股吧网页版"
        },
        {
            "id": "631545167",
            "posterId": "9386094200711036",
            "posterScreenName": "骑牛上山007",
            "publishDate": 1492701510,
            "publishDateStr": "2017-04-20T15:18:30",
            "title": null,
            "content": "莱士复牌预测,醉了[微笑]",
            "imageUrls": [
                "http:\/\/gbres.dfcfw.com\/Files\/picture\/20170420\/size500\/33C3A6CBB08405E05CED3FC07B5A0229.jpg"
            ],
            "url": "http:\/\/guba.eastmoney.com\/news,002252,631545167.html",
            "likeCount": 10,
            "commentCount": 7,
            "shareCount": 4,
            "viewCount": 9537,
            "source": "东方财富网Android版"
        },
        {
            "id": "631512412",
            "posterId": "2912094343331684",
            "posterScreenName": "黑龙江哈尔滨888",
            "publishDate": 1492696538,
            "publishDateStr": "2017-04-20T13:55:38",
            "title": null,
            "content": "分析上海莱士,大家研究停牌原因 复牌后走势。",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,631512412.html",
            "likeCount": 7,
            "commentCount": 18,
            "shareCount": 7,
            "viewCount": 30306,
            "source": "东方财富网Android版"
        },
        {
            "id": "631414495",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1492683116,
            "publishDateStr": "2017-04-20T10:11:56",
            "title": "上海莱士:关于重大事项停牌的公告",
            "content": "公告日期:2017-04-21提示:本网不保证其真实性和客观性,一切有关该股的有效信息,以交易所的公告为准,敬请投资者注意风险。",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,631414495.html",
            "likeCount": 20,
            "commentCount": 22,
            "shareCount": 18,
            "viewCount": 65304,
            "source": "股吧网页版"
        },
        {
            "id": "628793601",
            "posterId": "5557094425854894",
            "posterScreenName": "letwin",
            "publishDate": 1492152788,
            "publishDateStr": "2017-04-14T06:53:08",
            "title": "看着走势尾盘好像有动作也",
            "content": "呵呵 搬椅子看戏",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,628793601.html",
            "likeCount": 3,
            "commentCount": 10,
            "shareCount": 1,
            "viewCount": 6490,
            "source": "股吧网页版"
        },
        {
            "id": "627451877",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1491914419,
            "publishDateStr": "2017-04-11T12:40:19",
            "title": "上海莱士:2016年度监事会工作报告",
            "content": "公告日期:2017-04-12 上海莱士血液制品股份有限公司  2016年度监事会工作报告  监事会是公司法人治理结构的重要组成部分,依法履行内部监督职责。报告期内,公司监事会根据《公司法》、《证券法》、《公司章程》和《深圳证券交易所中小企业板上市公司规范运作指引》等法律法规的相...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,627451877.html",
            "likeCount": 2,
            "commentCount": 25,
            "shareCount": 28,
            "viewCount": 11147,
            "source": "股吧网页版"
        },
        {
            "id": "627448041",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1491913876,
            "publishDateStr": "2017-04-11T12:31:16",
            "title": "上海莱士:对外投资管理办法(2017年4月)",
            "content": "公告日期:2017-04-12 上海莱士血液制品股份有限公司  对外投资管理办法  (2017年4月修订)  第一章 总则  第一条 为规范上海莱士血液制品股份有限公司(以下称“公司”)对外  投资行为,提高投资效益,规避投资所带来的风险,有效、合理的使用资金,使资金的时间价值最...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,627448041.html",
            "likeCount": 2,
            "commentCount": 9,
            "shareCount": 24,
            "viewCount": 7523,
            "source": "股吧网页版"
        },
        {
            "id": "627448035",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1491913876,
            "publishDateStr": "2017-04-11T12:31:16",
            "title": "上海莱士:内幕信息知情人管理制度(2017年4月)",
            "content": "公告日期:2017-04-12 上海莱士血液制品股份有限公司  内幕信息知情人管理制度  (2017年4月修订)  第一章总则  第一条 为了进一步规范上海莱士血液制品股份有限公司(以下简称“公司”)  内幕信息管理行为,加强公司内幕信息保密工作,维护广大投资者利益,根据《中  ...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,627448035.html",
            "likeCount": 1,
            "commentCount": 22,
            "shareCount": 25,
            "viewCount": 11286,
            "source": "股吧网页版"
        },
        {
            "id": "627448033",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1491913876,
            "publishDateStr": "2017-04-11T12:31:16",
            "title": "上海莱士:2016年度募集资金年度存放及使用情况的专项报告",
            "content": "公告日期:2017-04-12 证券代码:002252 证券简称:上海莱士 公告编号:2017-024  上海莱士血液制品股份有限公司  2016年度募集资金年度存放及使用情况的专项报告  本公司及董事会全体成员保证公告内容真实、准确和完整,并对  公告中的虚假记载、误导性陈述或...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,627448033.html",
            "likeCount": 1,
            "commentCount": 6,
            "shareCount": 26,
            "viewCount": 5663,
            "source": "股吧网页版"
        },
        {
            "id": "627448031",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1491913876,
            "publishDateStr": "2017-04-11T12:31:16",
            "title": "上海莱士:控股股东及其他关联方资金占用情况的专项说明",
            "content": "公告日期:2017-04-12上海莱  上海莱士血液制品股份有限公司  控股股东及其他关联方资金占用情况的  专项说明  大华特字[2017]001340号  大华会计师事务所(特殊普通合伙)  DaHuaCertifiedPublicAccountants(Special Ge...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,627448031.html",
            "likeCount": 0,
            "commentCount": 27,
            "shareCount": 29,
            "viewCount": 7331,
            "source": "股吧网页版"
        },
        {
            "id": "627448029",
            "posterId": "6183113638163930",
            "posterScreenName": "上海莱士资讯",
            "publishDate": 1491913876,
            "publishDateStr": "2017-04-11T12:31:16",
            "title": "上海莱士:关于第四届监事会第十次会议决议的公告",
            "content": "公告日期:2017-04-12证券代码:002252 证券简称:上海莱士 公告编号:2017-021  上海莱士血液制品股份有限公司  关于第四届监事会第十次会议决议的公告  本公司及监事会全体成员保证公告内容真实、准确和完整,并对公告中的虚假记载、误导性陈述或者重大遗漏承担责任...",
            "imageUrls": null,
            "url": "http:\/\/guba.eastmoney.com\/news,002252,627448029.html",
            "likeCount": 1,
            "commentCount": 21,
            "shareCount": 24,
            "viewCount": 4926,
            "source": "股吧网页版"
        }
    ],
    "pageToken": "2",
    "hasNext": true,
    "retcode": "000000",
    "dataType": "post",
    "appCode": "eastmoneyguba"
}

Detailed Data

No Details

Error code

Error Return Value Format : JSON

{

message:"API rate limit exceeded",

retcode:100703

}
Error Code Error Message Detailed Description
100000 Server internal error 服务器内部错误
100001 Network error 网络错误
100002 Search no result 目标参数搜索没结果
100004 Target server error 目标服务器错误
100005 Param error 用户输入参数错误
100301 Account not found 用户帐号不存在
100700 Invalid authentication credentials 授权失败
100701 API stopped 您的当前API已停用
100702 Account stopped 您的账户已停用
100703 API rate limit exceeded 并发已达上限
100704 API maintenance API维护中
100705 API not found with these values API不存在
100706 Please add api first 请先添加api
100707 Number of calls exceeded 调用次数超限
100802 Missing url param 'time' or uri path is not equal to 2 请求路径错误或者缺少"time"参数
100803 Wrong pageToken 参数pageToken有误

Often With The Purchase Of Data