Facebook Gaming Banner API
Query Facebook gaming banner. Empty results and failures are free.
POST https://api.goanyapi.com/api/v1/facebook/gaming/bannerRequest and input parameters
Synchronous POST JSON query. There are no Path or Query parameters and no asynchronous task.
| Parameter | Location | Type | Required | Default | Constraints and meaning |
|---|---|---|---|---|---|
| Authorization | Header | string | Yes | — | Bearer YOUR_API_KEY |
| Content-Type | Header | string | Yes | application/json | application/json |
| videoId | JSON body | string | Optional or conditional | — | Facebook video ID; alternatively supply its URL; pattern=^[0-9]{1,25}$ |
Conditional requirements (required lists mandatory fields; satisfy at least one anyOf branch, exactly one oneOf branch, and every allOf branch):
{
"required": []
}Request example
POST /api/v1/facebook/gaming/banner
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{}Output fields
| Field path | Type | Meaning |
|---|---|---|
| code | string | ok on success; public error code otherwise |
| message | string | Request status message |
| data.result | object / null | Business result; actual null, empty and missing values are preserved |
| data.creditsUsed | integer | Actual charge; empty results and failures are free |
| data.remainingCredits | number | Account balance after settlement |
| data.result.sections | array | sections: public business value; may be empty or absent |
| data.result.sections[].type | string | type: public business value; may be empty or absent |
| data.result.sections[].title | string | Title |
| data.result.sections[].videos | array | videos: public business value; may be empty or absent |
| data.result.sections[].videos[].type | string | type: public business value; may be empty or absent |
| data.result.sections[].videos[].id | string | Record identifier |
| data.result.sections[].videos[].url | string | Public resource URL |
| data.result.sections[].videos[].title | string | Title |
| data.result.sections[].videos[].author | object | Public author details |
| data.result.sections[].videos[].author.id | string | Record identifier |
| data.result.sections[].videos[].author.name | string | Display name |
| data.result.sections[].videos[].author.url | string | Public resource URL |
| data.result.sections[].videos[].author.avatar | string | avatar: public business value; may be empty or absent |
| data.result.sections[].videos[].thumbnail | string | thumbnail: public business value; may be empty or absent |
| data.result.sections[].videos[].duration | number | duration: public business value; may be empty or absent |
| data.result.sections[].videos[].createdAt | number | createdAt: public business value; may be empty or absent |
| data.result.sections[].videos[].viewCount | number | viewCount: public business value; may be empty or absent |
| data.result.sections[].videos[].viewCountText | string | viewCountText: public business value; may be empty or absent |
| data.result.sections[].videos[].reactionCount | number | reactionCount: public business value; may be empty or absent |
| data.result.sections[].videos[].commentCount | number | commentCount: public business value; may be empty or absent |
| data.result.sections[].videos[].commentCountText | string | commentCountText: public business value; may be empty or absent |
| data.result.sections[].count | integer | Records in this response, not the total |
| data.result.count | integer | Records in this response, not the total |
| data.result.pagination_supported | boolean | Whether continuation is supported; false means no next-page request |
Real response example
Captured: 2026-11-25T10:23:27Z. Real public response excerpt; only data.creditsUsed and data.remainingCredits are omitted. Charges and balance depend on the actual request.
{
"code": "ok",
"message": "ok",
"data": {
"result": {
"sections": [
{
"type": null,
"title": null,
"videos": [
{
"type": "video",
"id": "2706765173154288",
"url": "https://www.facebook.com/watch/?v=2706765173154288",
"title": null,
"author": null,
"thumbnail": null,
"duration": null,
"createdAt": null,
"viewCount": null,
"viewCountText": null,
"reactionCount": null,
"commentCount": null,
"commentCountText": null
},
{
"type": "video",
"id": "1162923482896532",
"url": "https://www.facebook.com/watch/?v=1162923482896532",
"title": null,
"author": null,
"thumbnail": null,
"duration": null,
"createdAt": null,
"viewCount": null,
"viewCountText": null,
"reactionCount": null,
"commentCount": null,
"commentCountText": null
},
{
"type": "video",
"id": "1155914340473726",
"url": "https://www.facebook.com/watch/?v=1155914340473726",
"title": null,
"author": null,
"thumbnail": null,
"duration": null,
"createdAt": null,
"viewCount": null,
"viewCountText": null,
"reactionCount": null,
"commentCount": null,
"commentCountText": null
},
{
"type": "video",
"id": "1468023164883727",
"url": "https://www.facebook.com/watch/?v=1468023164883727",
"title": null,
"author": null,
"thumbnail": null,
"duration": null,
"createdAt": null,
"viewCount": null,
"viewCountText": null,
"reactionCount": null,
"commentCount": null,
"commentCountText": null
}
],
"count": 4
}
],
"count": 4,
"pagination_supported": false
}
}
}Pagination and billing
This operation does not support cursor pagination; do not invent a next page.
…
Successful nonempty requests use the current database-configured price. Empty results and failures are free; each page is billed separately. Empty optional fields do not make a record empty. Missing fields, null, empty strings and arrays are preserved. Saved media URLs and cursors may expire; query again for current values.
Status codes
| HTTP | Meaning |
|---|---|
| 200 | Success; results may be empty |
| 400 | Invalid parameters or JSON |
| 401 | Missing or invalid authentication |
| 402 | Insufficient credits |
| 429 | Rate limit exceeded |
| 502 | The data request could not complete |
| 503 | API or pricing is not configured |