Api Endpoint

API Direct

Get posts from a specific Facebook page.

Open interactive test console

Offering

Provider
x402.apidirect.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.apidirect.io/v1/facebook/page/posts
MIME type
application/json
First seen
2026-10-25T22:38:25.329Z
Last seen
Tags
Facebook

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.009 USDC
Atomic price: 9000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.009 USDC
Atomic price: 9000 · Network: eip155:8453 · Asset: USDC · Scheme: upto
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "9000",
    "payTo": "0x5d07Cc2a0FB4Eb123A525CA0b51cf6fB485014fc"
  },
  {
    "scheme": "upto",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "9000",
    "payTo": "0x5d07Cc2a0FB4Eb123A525CA0b51cf6fB485014fc"
  }
]

Observed health

Status
Healthy
Latest latency
35 ms
Average latency
66 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "page_id": {
          "type": "string",
          "description": "Numeric Facebook page ID (from Page Details endpoint)"
        },
        "pages": {
          "type": "integer",
          "minimum": 1,
          "maximum": 15,
          "default": 1,
          "description": "Number of pages to fetch and merge into one response (1-15). Billed per page."
        },
        "start_date": {
          "type": "string",
          "description": "Filter posts from this date (YYYY-MM-DD)"
        },
        "end_date": {
          "type": "string",
          "description": "Filter posts until this date (YYYY-MM-DD)"
        },
        "get_sentiment": {
          "type": "boolean",
          "default": false,
          "description": "Set to true to add AI emotion analysis to each post. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any post t"
        }
      },
      "required": [
        "page_id"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "page_id": {
              "type": "string",
              "description": "Numeric Facebook page ID (from Page Details endpoint)"
            },
            "pages": {
              "type": "integer",
              "minimum": 1,
              "maximum": 15,
              "default": 1,
              "description": "Number of pages to fetch and merge into one response (1-15). Billed per page."
            },
            "start_date": {
              "type": "string",
              "description": "Filter posts from this date (YYYY-MM-DD)"
            },
            "end_date": {
              "type": "string",
              "description": "Filter posts until this date (YYYY-MM-DD)"
            },
            "get_sentiment": {
              "type": "boolean",
              "default": false,
              "description": "Set to true to add AI emotion analysis to each post. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any post t"
            }
          },
          "required": [
            "page_id"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}