API 2.0

  • HTTP MethodPOST
  • API URLhttps://folgram.com/api/v2
  • Response FormatJSON
  • Example CodeExample of PHP Code

Method: balance

Note: All API funds/prices will be in USD.
Parameters Descriptions
key Your API token
action Method Name

Example Response:

{
  "balance": "100.78",
  "currency": "USD"
}
                

Method: services

Note: All API funds/prices will be in USD.
Parameters Descriptions
key Your API token
action Method Name

Example Response:

[
    {
        "service": 1,
        "name": "Followers",
        "type": "Default",
        "category": "First Category",
        "rate": "0.90",
        "min": "50",
        "max": "10000"
    },
    {
        "service": 2,
        "name": "Comments",
        "type": "Custom Comments",
        "category": "Second Category",
        "rate": "8",
        "min": "10",
        "max": "1500"
    }
]
                

Method: add

Note: All API funds/prices will be in USD.
Parameters Descriptions
key Your API token
action Method Name
service ID of package
link Link to page
quantity Needed quantity
comments optional, needed for custom comments, mentions and other relaed packages only.
each separated by '\n', '\n\r'

Success Response:

{
  "order":"23501"
}
                

Method: status

Note: All API funds/prices will be in USD.
Parameters Descriptions
key Your API token
action Method Name
order Order ID
.

Success Response:

{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
}