> ## Documentation Index
> Fetch the complete documentation index at: https://docs.perceptlayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Perceptlayer is a web data API: one key for structured JSON from about 250 websites. Base URL https://api.perceptlayer.com.
> Send the key in the X-API-Key header. GET parameters go in the query string; POST parameters in a JSON body.
> A successful call costs the credits on its endpoint (X-Credits-Used); failed calls cost nothing. Errors are {"error": {"code", "message", "request_id"}}.
> AI agents can use every endpoint through the MCP server at https://api.perceptlayer.com/mcp (tools search_endpoints, get_endpoint, call_endpoint), with Authorization: Bearer <key>.
> Get a free key at https://perceptlayer.com/signup.

# Facebook: Search Profiles

> Search Profiles from Facebook. Costs 1 credit per successful call.

> [!WARNING]
>
> This endpoint needs the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints), which you accept in your [dashboard](https://perceptlayer.com/dashboard/account). Until then it returns `403 restricted_endpoint`.

1 credit per successful call; failed calls are free. See the [Facebook API overview](https://perceptlayer.com/apis/facebook) for every Facebook endpoint.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.