Download OpenAPI specification:Download
This is pixiv FANBOX's API specification, NOT OFFICIAL
Get posts belongs with you
Origin required | string Default: https://www.fanbox.cc |
User-Agent required | string You must set user agent. |
{- "body": [
- {
- "id": "string",
- "title": "string",
- "status": "draft",
- "permalink": "string",
- "feeRequired": 0,
- "updatedAt": "string",
- "publishedAt": "string",
- "body": {
- "blocks": [
- {
- "type": "p",
- "text": "string",
- "imageId": "string",
- "urlEmbedId": "string",
- "styles": [
- {
- "type": "bold",
- "offset": 0,
- "length": 0
}
]
}
], - "imageMap": {
- "property1": {
- "id": "string",
- "extension": "string",
- "originalUrl": "string",
- "thumbnailUrl": "string"
}, - "property2": {
- "id": "string",
- "extension": "string",
- "originalUrl": "string",
- "thumbnailUrl": "string"
}
}, - "urlEmbedMap": {
- "property1": {
- "id": "string",
- "type": "html.card",
- "html": "string",
- "url": "string",
- "postInfo": {
- "id": "string",
- "creatorId": "string"
}
}, - "property2": {
- "id": "string",
- "type": "html.card",
- "html": "string",
- "url": "string",
- "postInfo": {
- "id": "string",
- "creatorId": "string"
}
}
}
}
}
]
}
Get post
postId required | string post's id |
Origin required | string Default: https://www.fanbox.cc |
User-Agent required | string You must set user agent. |
{- "body": {
- "id": "string",
- "title": "string",
- "status": "draft",
- "permalink": "string",
- "feeRequired": 0,
- "updatedAt": "string",
- "publishedAt": "string",
- "body": {
- "blocks": [
- {
- "type": "p",
- "text": "string",
- "imageId": "string",
- "urlEmbedId": "string",
- "styles": [
- {
- "type": "bold",
- "offset": 0,
- "length": 0
}
]
}
], - "imageMap": {
- "property1": {
- "id": "string",
- "extension": "string",
- "originalUrl": "string",
- "thumbnailUrl": "string"
}, - "property2": {
- "id": "string",
- "extension": "string",
- "originalUrl": "string",
- "thumbnailUrl": "string"
}
}, - "urlEmbedMap": {
- "property1": {
- "id": "string",
- "type": "html.card",
- "html": "string",
- "url": "string",
- "postInfo": {
- "id": "string",
- "creatorId": "string"
}
}, - "property2": {
- "id": "string",
- "type": "html.card",
- "html": "string",
- "url": "string",
- "postInfo": {
- "id": "string",
- "creatorId": "string"
}
}
}
}
}
}
Create post
Origin required | string Default: https://www.fanbox.cc |
User-Agent required | string You must set user agent. |
type required | string Value: "article" |
{- "type": "article"
}
{- "body": {
- "postId": "string"
}
}
Update post
Origin required | string Default: https://www.fanbox.cc |
User-Agent required | string You must set user agent. |
postId | string |
status | string Enum: "draft" "published" |
feeRequired | string |
title | string |
body | string |
tags | Array of strings |
tt | string |
{- "body": {
- "id": "string",
- "title": "string",
- "status": "draft",
- "permalink": "string",
- "feeRequired": 0,
- "updatedAt": "string",
- "publishedAt": "string",
- "body": {
- "blocks": [
- {
- "type": "p",
- "text": "string",
- "imageId": "string",
- "urlEmbedId": "string",
- "styles": [
- {
- "type": "bold",
- "offset": 0,
- "length": 0
}
]
}
], - "imageMap": {
- "property1": {
- "id": "string",
- "extension": "string",
- "originalUrl": "string",
- "thumbnailUrl": "string"
}, - "property2": {
- "id": "string",
- "extension": "string",
- "originalUrl": "string",
- "thumbnailUrl": "string"
}
}, - "urlEmbedMap": {
- "property1": {
- "id": "string",
- "type": "html.card",
- "html": "string",
- "url": "string",
- "postInfo": {
- "id": "string",
- "creatorId": "string"
}
}, - "property2": {
- "id": "string",
- "type": "html.card",
- "html": "string",
- "url": "string",
- "postInfo": {
- "id": "string",
- "creatorId": "string"
}
}
}
}
}
}
Delete post
Origin required | string Default: https://www.fanbox.cc |
User-Agent required | string You must set user agent. |
postId required | string |
{- "postId": "string"
}
{- "body": null
}