CS Magic Docs & APIs
  1. Spider
CS Magic Docs & APIs
  • Intro
  • Account
    • Login For Access Token
      POST
    • Read Me
      GET
  • LLM
    • Call Llm
      POST
    • Call Agent
      POST
    • List Models
      GET
    • Check Llm Provider Stat
      GET
    • Check Llm Provider Balance
      GET
  • Spider
    • Parse Url
      GET
  • OSS
    • Upload Oss
      POST
  • Badminton
    • Get Badminton Status
      GET
    • Get Badminton Status
      GET
  • Map
    • Geocode
      GET
    • Reverse Geocode
      GET
    • Baidu Reverse Geocoding
      GET
    • Baidu Geocoding
      GET
    • Geocoder
      GET
  • uni-pusher
    • Get Verification Code
      POST
    • Verify Code
      POST
    • Refresh Token
      POST
    • Check Rss
      POST
    • Read Profile
      GET
    • Search Topics
      POST
    • Push Twitter
      POST
    • Groups 51111828288514 Topics
      POST
    • Zsxq Profile
      GET
  • 微信
    • Search Wechat Official Account
    • List Wechat Official Account Articles
    • Parse Wechat Official Account Article
    • Parse Arthur Article
  • Rama Case
    • Search Lofter
    • Search Pixiv
  • Read System Status
    GET
  • Get Openapi
    GET
  1. Spider

Parse Url

GET
https://api.cs-magic.cn/spider/parse-url
Spider

请求参数

Query 参数
url
string 
Url
必需
summary_model
Summary Model
可选
Any of
枚举值:
gpt-3.5-turbogpt-3.5-turbo-16kgpt-3.5-turbo-0301gpt-3.5-turbo-0613gpt-3.5-turbo-1106gpt-3.5-turbo-0125gpt-3.5-turbo-16k-0613gpt-4-0125-previewgpt-4-turbo-previewgpt-4-1106-previewgpt-4-vision-previewgpt-4gpt-4-0314gpt-4-0613gpt-4-32kgpt-4-32k-0314gpt-4-32k-0613moonshot-v1-8kmoonshot-v1-32kmoonshot-v1-128kglm-3-turboglm-4abab6-chatabab5.5-chatabab5.5s-chatqwen-turboqwen-plusqwen-maxBaichuan2-TurboBaichuan2-Turbo-192kDoubao-lite-4kDoubao-lite-32kDoubao-lite-128kDoubao-pro-4kDoubao-pro-32kDoubao-pro-128kclaude-3-5-sonnet-20240620
md_with_img
Md With Img
可选
Any of
默认值:
false

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.cs-magic.cn/spider/parse-url?url'

返回响应

🟢200成功
application/json
Successful Response
Body
platformId
string 
Platformid
必需
platformType
enum<string> 
Platformtype
必需
枚举值:
wxmpArticlexhsNotebilibiliVideounknown
sourceUrl
string 
Sourceurl
必需
author
object (IUserBasic) 
必需
id
Id
可选
name
Name
可选
avatar
Avatar
可选
time
string <date-time>
Time
必需
title
string 
Title
必需
cover
object (IImage) 
必需
url
string 
Url
必需
width
Width
可选
height
Height
可选
description
string 
Description
必需
contentMd
string 
Contentmd
必需
contentSummary
必需
Any of
modelType
string 
Modeltype
必需
result
string 
Result
必需
示例
{
    "platformId": "string",
    "platformType": "wxmpArticle",
    "sourceUrl": "string",
    "author": {
        "id": "string",
        "name": "string",
        "avatar": "string"
    },
    "time": "2019-08-24T14:15:22Z",
    "title": "string",
    "cover": {
        "url": "string",
        "width": "string",
        "height": "string"
    },
    "description": "string",
    "contentMd": "string",
    "contentSummary": {
        "modelType": "string",
        "result": "string"
    }
}
🟠422参数错误
修改于 2024-11-12 04:49:12
上一页
Check Llm Provider Balance
下一页
Upload Oss
Built with