Facebook Events Categories API
Query Facebook events categories. Empty results and failures are free.
POST https://api.goanyapi.com/api/v1/facebook/events/categoriesRequest 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 |
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/events/categories
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.categories | array | categories: public business value; may be empty or absent |
| data.result.categories[].id | string | Record identifier |
| data.result.categories[].name | string | Display name |
| data.result.categories[].url | string | Public resource URL |
| data.result.categories[].icon | string | icon: public business value; may be empty or absent |
| data.result.count | integer | Records in this response, not the total |
Real response example
Captured: 2026-11-25T10:23:34Z. 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": {
"categories": [
{
"id": "1118260531654782",
"name": "Visual Arts",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yi/r/QplevCTOBY2.webp"
},
{
"id": "2069043976695032",
"name": "Social Issues",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yw/r/5Pegx4ViDwg.webp"
},
{
"id": "2104121139850100",
"name": "Comedy",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yj/r/GzPkaPRjcYs.webp"
},
{
"id": "218604428523167",
"name": "Crafts",
"icon": "https://static.xx.fbcdn.net/rsrc.php/y5/r/pN2VwDGzRcY.webp"
},
{
"id": "131382910960785",
"name": "Dance",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yu/r/xI556lekA-i.webp"
},
{
"id": "265736553952737",
"name": "Drinks",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yZ/r/XspJR5DWLid.webp"
},
{
"id": "10155994923880727",
"name": "TV & Movies",
"icon": "https://static.xx.fbcdn.net/rsrc.php/ya/r/ZRNXztxmvBJ.webp"
},
{
"id": "1051372811541370",
"name": "Fitness & Workouts",
"icon": "https://static.xx.fbcdn.net/rsrc.php/y6/r/HhDiAjiHNUd.webp"
},
{
"id": "2277460678954260",
"name": "Foods",
"icon": "https://static.xx.fbcdn.net/rsrc.php/ye/r/LQJ3zBEvGo8.webp"
},
{
"id": "10156104417160727",
"name": "Games",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yH/r/RaCW-QQz50r.webp"
},
{
"id": "1567782036806700",
"name": "Gardening",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yg/r/JUgzodmQDK9.webp"
},
{
"id": "1266205950078173",
"name": "Health & Medical",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yR/r/bBVBvv2U3-t.webp"
},
{
"id": "815763875218192",
"name": "Home & Garden",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yw/r/VDiu4vis56B.webp"
},
{
"id": "408796459759099",
"name": "Classics",
"icon": "https://static.xx.fbcdn.net/rsrc.php/y3/r/_a4uBdVrVdQ.webp"
},
{
"id": "10155994924430727",
"name": "Music & Audio",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yV/r/jbg39IMdFwU.webp"
},
{
"id": "2360264360882382",
"name": "Professional Networking",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yd/r/6oujNp-kt72.webp"
},
{
"id": "2375346995933355",
"name": "Parties",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yo/r/dyOpPF-__SA.webp"
},
{
"id": "780572978806377",
"name": "Religions",
"icon": "https://static.xx.fbcdn.net/rsrc.php/ys/r/SNCCKRnWGCK.webp"
},
{
"id": "763753720643356",
"name": "Shopping",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yz/r/-QaovtDPc2O.webp"
},
{
"id": "10155868806390727",
"name": "Sports",
"icon": "https://static.xx.fbcdn.net/rsrc.php/y9/r/bc9SHXhUS91.webp"
},
{
"id": "416229831893110",
"name": "Theater",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yf/r/-Fl1m6KBFF0.webp"
},
{
"id": "364762677359375",
"name": "Healthy Living & Self-Care",
"icon": "https://static.xx.fbcdn.net/rsrc.php/yk/r/XnNYnTcgPOG.webp"
}
],
"count": 22
}
}
}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 |