Get Facebook Company Data API

Retrieves email, phone, address, website, etc. data made available on a company’s Facebook page with this API.

About the API:

Receive structured data from any business Facebook page. Get information for you to enrich your databases. 

 

What this API receives and what your API provides (input/output)?

This API will receive the FB business page and it will be providing the information located on their FB page. 

 

What are the most common uses cases of this API?

This API is ideal for those who want to enrich their business database. With information like description, number, address, and the website you can enrich your DB. 

Marketing purposes can be achieved, can determine the location of the business and offer them different promos and benefits based on location and business type.

Locate business by keyword. You will be able to retrieve a list of FB businesses that contain the keyword on their names. Sort by name and business type. 

 

Are there any limitations with your plans?

Besides the number of API calls per month, there are no other limitations. 

API Documentation

Endpoints


Retrieve all the business FB data provided in their FB URL. 

 



                                                                            
POST https://zylalabs.com/api/219/get+facebook+company+data+api/226/company+data+from+fb+url
                                                                            
                                                                        

Company Data from FB url - Endpoint Features

Object Description
Request Body [Required] Json
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"message":"Success","results":[{"https://www.facebook.com/jmcFlorist/":{"FinalUrl":"https://www.facebook.com/jmcFlorist/","AdStatus":"This Page is not currently running ads.","DateOfMostRecentPost":{"Unix Time":1720579815,"Text":"July 10, 2024 02:50:15"},"PageCreatedDate":"January 17, 2018","Image":"https://scontent-fra3-2.xx.fbcdn.net/v/t39.30808-1/326777479_733829611368354_8731217464868378391_n.png?_nc_cat=111&ccb=1-7&_nc_sid=6de708&_nc_ohc=h_wxmXaSF78Q7kNvgE45Ea1&_nc_ht=scontent-fra3-2.xx&oh=00_AYDTAvLyChwrwSACZSivvyNVihCkhCaN9srKnijZUMn6Xg&oe=66BFBE0E","Likes":122549,"Id":156151778365758,"FollowerCount":122000,"CheckedInCount":178,"Description":"JMC Florist is a modern Flower Shop in Dhaka for those who are looking for some charming flowers with a lovely bouquet design.","Posts":[{"text":"\\u09a8\\u09a4\\u09c1\\u09a8 \\u098f\\u0995\\u099f\\u09bf \\u09a6\\u09bf\\u09a8\\u09c7\\u09b0 \\u09b6\\u09c1\\u09b0\\u09c1 \\u09b9\\u09cb\\u0995 \\u098f\\u0995\\u0997\\u09c1\\u099a\\u09cd\\u099b \\u09b8\\u09a4\\u09c7\\u099c\\u09a4\\u09be\\u09b0 \\u09b8\\u09be\\u09a5\\u09c7!\\u0986\\u09aa\\u09a8\\u09be\\u09b0 \\u09aa\\u09cd\\u09b0\\u09bf\\u09df \\u099c\\u09a8\\u09c7\\u09b0 \\u09ac\\u09bf\\u09b6\\u09c7\\u09b7 \\u09a6\\u09bf\\u09a8\\u099f\\u09bf \\u09ad\\u09b0\\u09bf\\u09df\\u09c7 \\u09a6\\u09bf\\u09a8 \\u0985\\u09a8\\u09be\\u09ac\\u09bf\\u09b2 \\u0986\\u09a8\\u09a8\\u09cd\\u09a6\\u09c7\\u0964  \\n\\u09ac\\u09bf\\u09b8\\u09cd\\u09a4\\u09be\\u09b0\\u09bf\\u09a4 \\u099c\\u09be\\u09a8\\u09a4\\u09c7 \\u09af\\u09cb\\u0997\\u09be\\u09af\\u09cb\\u0997 \\u0995\\u09b0\\u09c1\\u09a8 \\n\\ud83d\\udcde 01729265700","reactions":{"totalCount":6,"Like":5,"Love":1}}],"CoverImage":"https://scontent-fra5-2.xx.fbcdn.net/v/t39.30808-6/405184449_1382420915738832_6963876878607379200_n.jpg?stp=dst-jpg_s960x960&_nc_cat=109&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=2Nv5N3Zk7bMQ7kNvgExY9Qa&_nc_ht=scontent-fra5-2.xx&oh=00_AYAxb5jdNDUVduvwxLNOUE0Bi6chFTfzddJLBrcE9in_3Q&oe=66BFDBD5","Category":"Florist","Name":"JMC Florist","Language":"en_US","TalkingAboutThisCount":3,"Address":"House 29, Road: 17, Block E, Banani, Dhaka \\u2013 1213, Banani Model Town, Bangladesh","Email":"[email protected]","Website":"https://jmcflorist.com/","BusinessHours":"Open now","BusinessServices":"Curbside pickup"}},{"https://www.facebook.com/TeslaMotorsCorp/":{"FinalUrl":"https://www.facebook.com/TeslaMotorsCorp/","AdStatus":"This Page is not currently running ads.","DateOfMostRecentPost":{"Unix Time":1723392344,"Text":"August 11, 2024 16:05:44"},"PageCreatedDate":"April 11, 2019","Image":"https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-1/422246029_937710134819984_7865127798603499606_n.jpg?stp=dst-jpg_p720x720&_nc_cat=102&ccb=1-7&_nc_sid=6de708&_nc_ohc=phEvtgJ9pYkQ7kNvgHebGQa&_nc_ht=scontent-lga3-1.xx&oh=00_AYAHA0bCdTpcSEJxOY7iGXnmUTlPtkIoI5ldbkxxCBMkSw&oe=66BFC5A9","Likes":269976,"Id":649737472123383,"FollowerCount":703000,"Description":"Tesla is an automotive electric vehicle & clean energy company. This is a fan page, not official page","Posts":[{"text":"Tesla hits 250 Supercharger stalls in Finland! \\ud83c\\uddeb\\ud83c\\uddee\\n\\nNow, Finland boasts 53.2 metal bands and 4.5 Supercharger stalls per 100,000 inhabitants!\\n\\nNyt menn\\u00e4\\u00e4n! \\ud83e\\udd1f","reactions":{"totalCount":672,"Like":575,"Love":76,"Haha":15,"Care":3,"Wow":2,"Angry":1}}],"CoverImage":"https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/309463946_585016066756061_3988218413775243149_n.jpg?stp=dst-jpg_p180x540&_nc_cat=103&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=BSxc2BlVg-gQ7kNvgGZzzgy&_nc_ht=scontent-lga3-1.xx&oh=00_AYAfjo7irOczfUkrY9lW8xSKH1yVSQI0YlrVOKC1cgxMcg&oe=66BFAE9E","Category":"Fan page","Name":"Tesla","Language":"en_US","TalkingAboutThisCount":49082,"Website":"https://www.tesla.com/"}},{"https://www.facebook.com/greshamsflorist":{"FinalUrl":"https://www.facebook.com/greshamsflorist","AdStatus":"This Page is not currently running ads.","DateOfMostRecentPost":{"Unix Time":1723137914,"Text":"August 8, 2024 17:25:14"},"PageCreatedDate":"April 26, 2011","Image":"https://scontent-waw2-1.xx.fbcdn.net/v/t39.30808-1/291834577_479125594214886_3711716598992431938_n.png?stp=dst-png_p720x720&_nc_cat=109&ccb=1-7&_nc_sid=6de708&_nc_ohc=dXu2aDfU5isQ7kNvgHUsl3e&_nc_ht=scontent-waw2-1.xx&oh=00_AYC__xHSNFsAdOidF86dGrTaKSh6umi983vEQIm2RH5sEA&oe=66BFC3DA","Likes":831,"Id":219329478083708,"CheckedInCount":29,"Description":"Gresham's Florist of Atlanta since 1913, Atlanta's finest florist has been a family-owned business s","Posts":[{"text":"We\\u2019re faster than Amazon \\ud83d\\ude0f\\n\\nNeed a quick gift delivered? Our hand-crafted bouquets and plants can be out the door in no time. Call (404) 522-3215 by 3 pm to place your same-day order!","reactions":{"totalCount":8,"Like":6,"Love":2}}],"CoverImage":"https://scontent-waw2-1.xx.fbcdn.net/v/t39.30808-6/440783322_966564408804333_7425142406389184994_n.png?stp=dst-png_s960x960&_nc_cat=100&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=HBELRR8JJN4Q7kNvgG3u3LU&_nc_ht=scontent-waw2-1.xx&oh=00_AYBg-0zhGKRaTW9em-951XLwW-SRRxkIjRDD2gEagKttBg&oe=66BFB4FA","Category":"Florist","Name":"Gresham's Florist of Atlanta Since 1913","Language":"en_US","TalkingAboutThisCount":9,"Address":"270 Peachtree St NW, Ste 200, Atlanta, GA, United States, Georgia","Phone":"+1 404-522-3215","Email":"[email protected]","Website":"http://www.greshamsatlantaflorist.com/","BusinessHours":"Opening Soon","BusinessPrice":"$$","Rating":84,"ReviewCount":19}}],"status_code":200}
                                                                                                                                                                                                                    
                                                                                                    

Company Data from FB url - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/219/get+facebook+company+data+api/226/company+data+from+fb+url' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
    "FBUrls": [
        "https://www.facebook.com/jmcFlorist/",
        "https://www.facebook.com/TeslaMotorsCorp/",
       "https://www.facebook.com/greshamsflorist"
    ]
}'

    

Return a list of up to 20 FB pages that are related to the keyword you want. 

These pages could be returned because the keyword was recognized in the FB page title or description. 



                                                                            
POST https://zylalabs.com/api/219/get+facebook+company+data+api/227/get+fb+pages+by+keyword
                                                                            
                                                                        

Get FB pages by Keyword - Endpoint Features

Object Description
Request Body [Required] Json
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Message":"Failed","Results":null}
                                                                                                                                                                                                                    
                                                                                                    

Get FB pages by Keyword - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/219/get+facebook+company+data+api/227/get+fb+pages+by+keyword' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
    "keyword": "motors"
}'

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Get Facebook Company Data API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the ‘X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
4,173ms

Category:


Related APIs