Proxy./ docs

Facebook scraper API

Every Facebook scraper endpoint: 17 actions returning structured JSON from $0.003 per call. No proxies, no captchas, no infrastructure.

All 17 Facebook endpoints, from $0.003 per call. Each is callable as GET https://hproxy.com/api/v1/scrape/facebook/{action} (or POST with a JSON body) using a key with the scrape scope. No proxies, captchas or parsing to manage, it is all included in the price, and failed calls are never billed. See the full catalog for every platform, or the Facebook landing page for examples and use cases.

GEThproxy.com/api/v1/scrape/facebook/profile

Facebook Profile

Returns structured JSON for Facebook Profile. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video).
get_business_hoursboolean (query)optionalAlso include business hours in the response.
include_gated_profileboolean (query)optionalOptional flag (true or false).
cache_max_agestring (query)optionalAccept a cached result up to this old (1d, 3d, 7d, 14d or 30d) and pay nothing for it. Omit for a live scrape. Allowed values: 1d, 3d, 7d, 14d, 30d.
curl "https://hproxy.com/api/v1/scrape/facebook/profile?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/profile-reels

Facebook Profile Reels

Returns structured JSON for Facebook Profile Reels. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video).
next_page_idstring (query)optionalPagination token from the previous response.
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/profile-reels?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/profile-photos

Facebook Profile Photos

Returns structured JSON for Facebook Profile Photos. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video).
next_page_idstring (query)optionalPagination token from the previous response.
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/profile-photos?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/profile-posts

Facebook Profile Posts

Returns structured JSON for Facebook Profile Posts. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video). Send this or pageId.
pageIdstring (query)requiredIdentifier from a previous response. Send this or url.
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/profile-posts?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/profile-events

Facebook Profile Events

Returns structured JSON for Facebook Profile Events. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video).
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/profile-events?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/post

Facebook Post

Returns structured JSON for Facebook Post. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video).
get_commentsboolean (query)optionalAlso include comments in the response.
get_transcriptboolean (query)optionalAlso include transcript in the response.
cache_max_agestring (query)optionalAccept a cached result up to this old (1d, 3d, 7d, 14d or 30d) and pay nothing for it. Omit for a live scrape. Allowed values: 1d, 3d, 7d, 14d, 30d.
curl "https://hproxy.com/api/v1/scrape/facebook/post?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/post-transcript

Facebook Post Transcript

Returns structured JSON for Facebook Post Transcript. Billed $0.030 per successful call ($30.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video).
trimboolean (query)optionalReturn a slimmed-down payload (drops verbose fields).
cache_max_agestring (query)optionalAccept a cached result up to this old (1d, 3d, 7d, 14d or 30d) and pay nothing for it. Omit for a live scrape. Allowed values: 1d, 3d, 7d, 14d, 30d.
curl "https://hproxy.com/api/v1/scrape/facebook/post-transcript?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/post-comments

Facebook Post Comments

Returns structured JSON for Facebook Post Comments. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video). Send this or feedback_id.
feedback_idstring (query)requiredIdentifier from a previous response. Send this or url.
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/post-comments?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/comment-replies

Facebook Comment Replies

Returns structured JSON for Facebook Comment Replies. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
feedback_idstring (query)requiredIdentifier from a previous response.
expansion_tokenstring (query)requiredThe expansion token parameter.
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/comment-replies?feedback_id=1234567890&expansion_token=value" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/group-posts

Facebook Group Posts

Returns structured JSON for Facebook Group Posts. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video). Send this or group_id.
group_idstring (query)requiredIdentifier from a previous response. Send this or url.
sort_bystring (query)optionalOrdering to apply to the results. Allowed values: TOP_POSTS, RECENT_ACTIVITY, CHRONOLOGICAL, CHRONOLOGICAL_LISTINGS.
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/group-posts?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/events

Facebook Events by City

Returns structured JSON for Facebook Events by City. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
urlurl (query)requiredTarget URL (profile, post or video).
timestring (query)optionalFilter by date, as YYYY-MM-DD. Allowed values: today, this_week, next_week.
cursorstring (query)optionalPagination token from the previous response.
curl "https://hproxy.com/api/v1/scrape/facebook/events?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/event

Facebook Event Details

Returns structured JSON for Facebook Event Details. Billed $0.003 per successful call ($3.00 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
idstring (query)requiredIdentifier from a previous response. Send this or url.
urlurl (query)requiredTarget URL (profile, post or video). Send this or id.
curl "https://hproxy.com/api/v1/scrape/facebook/event?url=https://www.facebook.com/nasa" \
  -H "X-API-Key: hpx_your_key_here"
GEThproxy.com/api/v1/scrape/facebook/ad-company

Facebook Company Ads

Returns structured JSON for Facebook Company Ads. Billed $0.003 per successful call ($3.50 per 1,000); failed calls, timeouts and rate-limited calls are never charged. POST with a JSON body works too.

ParameterTypeRequiredDescription
x-api-keystring (header)requiredYour HProxy API key with the scrape scope.
pageIdstring (query)requiredIdentifier from a previous response. Send this or companyName.
companyNamestring (query)requiredThe companyName parameter. Send this or pageId.
countrystring (query)optionalTwo-letter region/country code, e.g. US.
statusstring (query)optionalThe status parameter. Allowed values: ALL, ACTIVE, INACTIVE.
languagestring (query)optionalTwo-letter language code, e.g. en.
cursorstring (query)optionalPagination token from the previous response.
media_typestring (query)optionalThe media type parameter. Allowed values: ALL, IMAGE, VIDEO, MEME, IMAGE_AND_MEME, NONE.
sort_bystring (query)optionalOrdering to apply to the results. Allowed values: total_impressions, relevancy_monthly_grouped.
start_datestring (query)optionalFilter by date, as YYYY-MM-DD.
end_datestring (query)optionalFilter by date, as YYYY-MM-DD.
trimboolean (query)optionalReturn a slimmed-down payload (drops verbose fields).
curl "https://hproxy.com/api/v1/scrape/facebook/ad-company?pageId=1234567890" \
  -H "X-API-Key: hpx_your_key_here"

Need a hand wiring this up? Email support@hproxy.com. A real person reads every message.