# Facebook Get Profile ID API (V1)

Get Facebook Get Profile ID (V1) data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by JustOneAPI, pass parameters such as url, and retrieve structured data including business status code, returned profile id field, response message, and returned record time value for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/facebook/facebook-get-profile-id-api-v1/?offering=c52523d9-6b3e-458a-9bd7-e21fbbc4bb7b
API ID: c52523d9-6b3e-458a-9bd7-e21fbbc4bb7b
Provider: justoneapi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/facebook/get-profile-id/v1
Page update time: 2026-12-03T02:50:59.851Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.030769 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:50:59.078Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "30769",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Facebook Get Profile ID API (V1) request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The path portion of the Facebook profile URL, such as /<profile-path>. Do not include the scheme or host."
        }
      },
      "required": [
        "url"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "profile_id": {
          "type": "string"
        }
      }
    },
    "message": {
      "type": "null"
    },
    "recordTime": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Historical response; independent request temp
```bash
curl \
  'https://api.openany.si/v1/agent-apis/justoneapi/api/facebook/get-profile-id/v1?url=%3CREPLACE_URL%3E' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "code": 0,
  "data": {
    "profile_id": "61584358453757"
  },
  "message": null,
  "recordTime": null
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- justoneapi: https://openany.si/market/apis/facebook/facebook-get-profile-id-api-v1/?offering=c52523d9-6b3e-458a-9bd7-e21fbbc4bb7b

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
