# Facebook Facebook Answers API

> Retrieve facebook answers from Facebook with a single API request.

- Request: `GET https://fetchgoblin.com/api/data/v1/facebook/answers`
- Cost: 1 credit per successful request. Failed requests are not charged.
- Authentication: `x-api-key` header
- HTML reference: https://fetchgoblin.com/docs/get-v1-facebook-answers
- MCP: call tool `call_endpoint` with `endpoint_id: "get-v1-facebook-answers"` at https://fetchgoblin.com/mcp

## Query parameters

| Parameter | Required | Type | Description |
| --- | --- | --- | --- |
| `url` | yes | string | The Facebook Answers topic page URL. Example: `https://www.facebook.com/fb-answers/peugeot-u1108-error-code/` |

## Example request

```sh
curl --request GET 'https://fetchgoblin.com/api/data/v1/facebook/answers?url=https%3A%2F%2Fwww.facebook.com%2Ffb-answers%2Fpeugeot-u1108-error-code%2F' \
  --header "x-api-key: $FETCHGOBLIN_API_KEY"
```

## Example response

Some platform fields may be absent or null. Every response also includes `credits_charged`, `credits_remaining` and `request_id`.

```json
{
  "success": true,
  "url": "https://www.facebook.com/fb-answers/peugeot-u1108-error-code/",
  "title": "Peugeot U1108 Error Code - Causes and Fixes",
  "summary": "U1108 on a Peugeot usually points to a…",
  "sections": [
    {
      "title": "What U1108 Means on a Peugeot",
      "summary": "U1108 is a communication code that…",
      "citations": [
        {
          "url": "https://www.facebook.com/groups/977150596440975/posts/1521708421985187/?ref=fb_answers",
          "text": "Hi I’m getting fault code U1108p…",
          "type": "GROUP_POST",
          "author_name": "Andrew Wadkin",
          "group_name": "Citroen Berlingo & Peugeot Partner SG Owners Club"
        }
      ]
    }
  ],
  "related_topics": [
    {
      "title": "Peugeot car maintenance tips",
      "url": "https://www.facebook.com/fb-answers/peugeot-car-maintenance-tips/"
    }
  ],
  "credits_charged": 1,
  "credits_remaining": 1000,
  "request_id": "00000000-0000-4000-8000-000000000000"
}
```
