The Fanpage Karma API access is an interface that allows companies that have their own data stores to query metrics values and posts for specific time periods in a machine-readable format.
This means that they do not need to manually export the data from their dashboard, but can use programs to do so and process the information within their own system.
How to use the Fanpage Karma API
You can use the Fanpage Karma API to run two different queries and get either all metric values or all posts including relevant details (text, link, post type, image, KPIs) for a specific profile.
Use the following URL structure to retrieve your data via our interface:

Enter values for each parameter as follows:
VERSION
There is only one version so far

NETWORK
We currently support seven networks:

PROFILE_ID
Enter the ID of the respective profile to specify your query.
TASK
You can choose between the two variants /kpi or /posts, depending on what data you need.
TOKEN
You need a valid token for your request, which you can find in your Fanpage Karma account settings in the API section.
PERIOD
Add a desired time period. This is optional. If you do not specify the period, you will get the data from the last 28 days. Keep the following format ‘YYYY-MM-DD_YYYY-MM-DD’, e.g. ‘2021-01-01_2021-01-31’.
Start your query
Now enter all the parameters for the URL and start your query. Here is an example for both variants, profiles and posts:
KPI Query

Example: www.fanpagekarma.com/api/v1/facebook/6815841748/kpi?token=abcdefghijklmnopqrstuvwxyz

Post Query

Example: www.fanpagekarma.com/api/v1/facebook/6815841748/posts?token=abcdefghijklmnopqrstuvwxyz

Note: API access is available from the Gold version. The cost is 4 Euro per requested profile.
For Developers
See the detailed guide on how to use the API for developers: https://www.fanpagekarma.com/api/doc
Still have questions? Let us know at service@fanpagekarma.com!