FastAF Social API

The social API from FastAF — 2 operation(s) for social.

Operations 2

GET /x402/v1/linkedin LinkedIn profile #
GET /x402/v1/x X profile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fastaf:fastaf-social-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fastaf-social-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FastAF Social API
  version: v1
  contact:
    email: support@fastaf.co
    url: https://fastaf.co/docs/#x402
  description: 'FastAF is a web data API for AI agents: Google SERP, Maps, ecommerce, web scraping, AI extraction, screenshots, news, jobs, research, public profiles and video transcripts. Use prepaid API keys or account-free x402 v2 payments.'
  x-guidance: 'Use GET /x402/v1/{endpoint} with query parameters (not POST or a JSON body). Choose serp for Google search, maps for places, news/shopping/scholar/jobs for specialized search, ai for Google AI Mode, amazon/youtube for their resource variants, linkedin/x for public profiles, walmart/zillow/ebay for structured commerce or listings, scrape for public HTML or markdown, and screenshot for images. Use the dedicated zillow and ebay endpoints instead of scrape for those sites. The q and lang aliases are accepted for query (search_query on YouTube) and language. Send a valid unpaid request first; read the x402 v2 PAYMENT-REQUIRED header, sign with an x402 client such as @x402/fetch, and retry the identical URL with PAYMENT-SIGNATURE. USDC payment uses the network and amount in that live challenge; no API-key authentication is needed. Only successful results are settled; inspect PAYMENT-RESPONSE for the receipt. Prices here are decimal USD, while the challenge uses USDC atomic units (six decimals). Dynamic prices depend on advance_search (serp), resource (amazon/youtube), or rendering, proxies/country and AI extraction (scrape). Scrape site defaults, including Booking rendering and Reddit feed mode, are applied before quoting. A bare unsigned URL returns a default-variant discovery quote only: add valid parameters and request a new challenge before paying. Unpaid HEAD probes also return PAYMENT-REQUIRED with no body; use GET, not HEAD, to pay for data. Invalid parameterized requests and blocked targets return 400; payment headers never bypass validation. Never reuse a settled signature for a new call. Respect Retry-After on rate/capacity errors. For the separate prepaid-key API and authenticated credit-pack top-up, see /v1/openapi.json. Get a free API key at https://fastaf.co/signup/ with an email address, terms acceptance and browser verification. No card is required. POST /public/signup sends an email confirmation link and sets a dashboard session cookie; it does not return an API key. Follow the emailed GET /public/signin/{token} link, then create a key in the dashboard (POST /v1/keys with the session cookie). The key is shown only once. Email confirmation unlocks 2 free calls per account in total, not per day, shared across all keys and all offered REST/MCP endpoints, valid for 12 months; failed calls restore their slot. Unverified trial accounts receive email_verification_required (403) before any data call or trial reservation. Signups are limited per IPv4 /24 or IPv6 /64 network per UTC day (default 3); 429 means retry after the reset. GET /v1/usage reports free_requests_remaining separately from balance_credits. POST /v1/signup is retired and always returns 410 signup_disabled. Agents without an inbox can use /x402/v1/{endpoint} without an account.'
  x-signup-guidance: Get a free API key at https://fastaf.co/signup/ with an email address, terms acceptance and browser verification. No card is required. POST /public/signup sends an email confirmation link and sets a dashboard session cookie; it does not return an API key. Follow the emailed GET /public/signin/{token} link, then create a key in the dashboard (POST /v1/keys with the session cookie). The key is shown only once. Email confirmation unlocks 2 free calls per account in total, not per day, shared across all keys and all offered REST/MCP endpoints, valid for 12 months; failed calls restore their slot. Unverified trial accounts receive email_verification_required (403) before any data call or trial reservation. Signups are limited per IPv4 /24 or IPv6 /64 network per UTC day (default 3); 429 means retry after the reset. GET /v1/usage reports free_requests_remaining separately from balance_credits. POST /v1/signup is retired and always returns 410 signup_disabled. Agents without an inbox can use /x402/v1/{endpoint} without an account.
servers:
- url: https://api.fastaf.co
tags:
- name: Social
paths:
  /x402/v1/linkedin:
    get:
      operationId: x402GetLinkedin
      summary: LinkedIn profile
      description: 'Public LinkedIn person profile as JSON: name, headline, location and summary. Visible-without-login data only. Send query parameters, not a JSON body. The PAYMENT-REQUIRED header quotes the exact price for the selected options; sign it with an x402 v2 client and retry the same URL with PAYMENT-SIGNATURE. Invalid parameters or blocked targets return 400 without payment. Only successful calls are settled.'
      tags:
      - Social
      x-category: social
      x-output-schema:
        type: array
        items:
          type: object
          properties:
            fullName:
              type: string
            public_identifier:
              type: string
            headline:
              type: string
            location:
              type: string
            about:
              type: string
          additionalProperties: true
      security: []
      x-payment-info:
        protocols:
        - x402: {}
        price:
          mode: fixed
          currency: USD
          amount: '0.060000'
      parameters:
      - name: id
        in: query
        required: true
        description: Required public LinkedIn person-profile slug from /in/<id>/, e.g. williamhgates, not a full URL. No default; public data only. No option surcharge; 60 credits per successful request.
        schema:
          type: string
          maxLength: 8192
          example: williamhgates
        example: williamhgates
      - name: type
        in: query
        required: false
        description: Profile resource selector; only profile is accepted and is the FastAF default. Company profiles are not supported here. No option surcharge; 60 credits per successful request.
        schema:
          type: string
          enum:
          - profile
          example: profile
        example: profile
      - name: premium
        in: query
        required: false
        description: Use the premium profile retrieval option; true/false, default false. Still public data only; no additional FastAF credits. No option surcharge; 60 credits per successful request.
        schema:
          type: boolean
      responses:
        '200':
          description: Successful result; payment settled. Content type depends on the requested format.
          headers:
            PAYMENT-RESPONSE:
              description: Base64-encoded x402 v2 settlement receipt.
              schema:
                type: string
            X-FastAF-Credits-Used:
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    fullName:
                      type: string
                    public_identifier:
                      type: string
                    headline:
                      type: string
                    location:
                      type: string
                    about:
                      type: string
                  additionalProperties: true
              example:
              - fullName: Bill Gates
                public_identifier: williamhgates
                headline: Co-chair, Gates Foundation
                location: Seattle, Washington, United States
                about: Working on global health, climate and education.
        '400':
          description: Invalid parameters or blocked target; nothing charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          $ref: '#/components/responses/X402PaymentRequired'
        '404':
          description: Pay-per-call is not enabled on this deployment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: This signed payment is already in use or has already paid for a call.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The requested resource is unavailable; nothing settled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: IP burst limit reached. Retry after the Retry-After header interval.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream failed, or returned blocked, empty or incomplete data; nothing settled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Service, capacity or payment configuration unavailable; retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '504':
          description: Upstream timed out; nothing settled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /x402/v1/x:
    get:
      operationId: x402GetX
      summary: X profile
      description: 'Public X (Twitter) profile by username, as JSON: name, bio, follower, following and post counts. Send query parameters, not a JSON body. The PAYMENT-REQUIRED header quotes the exact price for the selected options; sign it with an x402 v2 client and retry the same URL with PAYMENT-SIGNATURE. Invalid parameters or blocked targets return 400 without payment. Only successful calls are settled.'
      tags:
      - Social
      x-category: social
      x-output-schema:
        type: object
        properties:
          name:
            type: string
          handle:
            type: string
          description:
            type: string
          followers_count:
            type: number
          following_count:
            type: number
          statuses_count:
            type: number
        additionalProperties: true
      security: []
      x-payment-info:
        protocols:
        - x402: {}
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
      parameters:
      - name: profileId
        in: query
        required: true
        description: Required public X/Twitter username, e.g. nasa, without @ or a profile URL. No default; retrieves profile data, not an arbitrary post. No option surcharge; 5 credits per successful request.
        schema:
          type: string
          maxLength: 8192
          example: nasa
        example: nasa
      responses:
        '200':
          description: Successful result; payment settled. Content type depends on the requested format.
          headers:
            PAYMENT-RESPONSE:
              description: Base64-encoded x402 v2 settlement receipt.
              schema:
                type: string
            X-FastAF-Credits-Used:
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  handle:
                    type: string
                  description:
                    type: string
                  followers_count:
                    type: number
                  following_count:
                    type: number
                  statuses_count:
                    type: number
                additionalProperties: true
              example:
                name: NASA
                handle: NASA
                description: Exploring space and sharing discoveries about our universe.
                followers_count: 85000000
                following_count: 170
                statuses_count: 75000
        '400':
          description: Invalid parameters or blocked target; nothing charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          $ref: '#/components/responses/X402PaymentRequired'
        '404':
          description: Pay-per-call is not enabled on this deployment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: This signed payment is already in use or has already paid for a call.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The requested resource is unavailable; nothing settled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: IP burst limit reached. Retry after the Retry-After header interval.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream failed, or returned blocked, empty or incomplete data; nothing settled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Service, capacity or payment configuration unavailable; retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '504':
          description: Upstream timed out; nothing settled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  responses:
    X402PaymentRequired:
      description: 'Payment required. Decode PAYMENT-REQUIRED (base64 JSON) for the authoritative x402 v2 accepts[].amount in USDC atomic units, network, asset and payTo. The JSON body also includes x402Version, resource and accepts, with maxAmountRequired and per-requirement resource/description/mimeType aliases for catalogs. This remains a v2 payment flow: sign and retry with PAYMENT-SIGNATURE. A failed settlement also returns 402 (settlement_failed) with PAYMENT-RESPONSE instead of data, without a payment challenge.'
      headers:
        PAYMENT-REQUIRED:
          description: Base64-encoded x402 v2 payment challenge (present on unpaid requests).
          schema:
            type: string
        PAYMENT-RESPONSE:
          description: Base64-encoded settlement failure receipt, when settlement fails.
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PaymentRequired'
  schemas:
    PaymentRequired:
      allOf:
      - $ref: '#/components/schemas/Error'
      - type: object
        properties:
          x402Version:
            type: integer
            const: 2
          resource:
            type: object
            required:
            - url
            - description
            - mimeType
            description: The resource object from PAYMENT-REQUIRED, including discovery metadata.
            properties:
              url:
                type: string
                format: uri
              description:
                type: string
              mimeType:
                type: string
          accepts:
            type: array
            minItems: 1
            description: The v2 header requirements plus legacy discovery aliases. Present on payment challenges, not settlement failures.
            items:
              type: object
              required:
              - scheme
              - network
              - amount
              - maxAmountRequired
              - resource
              - description
              - mimeType
              - payTo
              - asset
              - maxTimeoutSeconds
              - extra
              properties:
                scheme:
                  type: string
                  const: exact
                network:
                  type: string
                  description: CAIP-2 network identifier, unchanged from the v2 header.
                amount:
                  type: string
                  pattern: ^[0-9]+$
                maxAmountRequired:
                  type: string
                  pattern: ^[0-9]+$
                  description: Alias of amount, in atomic USDC units.
                resource:
                  type: string
                  format: uri
                description:
                  type: string
                mimeType:
                  type: string
                payTo:
                  type: string
                asset:
                  type: string
                maxTimeoutSeconds:
                  type: integer
                extra:
                  type: object
                  additionalProperties: true
          price:
            type: object
            required:
            - usd
            - credits
            - asset
            - network
            properties:
              usd:
                type: string
                pattern: ^[0-9]+\.[0-9]{6}$
              credits:
                type: integer
                minimum: 1
              asset:
                type: string
                const: USDC
              network:
                type: string
                description: CAIP-2 network identifier.
          how_to_pay:
            type: string
          with_a_key:
            type: string
          docs:
            type: string
            format: uri
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
    sessionCookie:
      type: apiKey
      in: cookie
      name: fastaf_session