Loading...

API

Main
  1. Provider URL: nakrutka.com
    1. Send any API requests only to this domain, via the link - https://nakrutka.com/api/
  2. API key: Log in
    1. Always include the API key as a GET parameter (?key=...) in the request URL, even for POST requests.
  3. API token: create in profile settings
    1. If a token is enabled in your profile, you must send it in the header:
      "Authorization: Bearer 123.abc..."
    2. You may delete the token and use the API key alone, but this is less secure.

Examples
curl 'https://nakrutka.com/api/?key=qwertyuiopasdfghjklzxcvbnm123456&action=create&service=4&quantity=100&link=bigstata' \
  -H 'Authorization: Bearer 1234567.NHkq7w60o3Z2nFJm4N8X7bBq5vJ2h6lUjyTz0iYJQq8'
<?php
$ch = curl_init('https://nakrutka.com/api/?key=d8d1385t583oc4fe0804a047ce5b04a7&action=create&service=4&quantity=100&link='.rawurlencode('https://www.instagram.com/bigstata/'));
curl_setopt_array($ch, array(
 CURLOPT_RETURNTRANSFER => true,
 CURLOPT_HTTPHEADER     => array('Accept: application/json','Authorization: Bearer 1234567.mr1F8ok0oBjSuG0_vd2Ka3OFFGW7KZZeWbkru_IdZy0'),
 CURLOPT_CONNECTTIMEOUT => 10,
 CURLOPT_TIMEOUT        => 20,
 CURLOPT_SSL_VERIFYPEER => true,
 CURLOPT_SSL_VERIFYHOST => 2,
));
echo curl_exec($ch);
curl_close($ch);		
Download api-test.php

API REQUESTS AND RESPONSES

Add order
  1. key
    1. Your API key specified in your account profile.
  2. action
    1. create
  3. service
    1. ID of the desired type of service, specified in the price list.
  4. quantity
    1. How much you want to order. Not required if comments.
  5. link
    1. Link to where you order service (any format).
  6. comments (optional)
    1. Comments listed with \n
  7. username (optional)
    1. Login of the comment author.

RESPONSE

An example of a response with an order number when requesting via API.
Response in JSON format.

{"order":"300450291","charge":0.121}

Order status
  1. key
    1. Your API key specified in your account profile.
  2. action
    1. status
  3. order
    1. The order ID specified in the list of your orders.
    2. If the order is not added through your key, then you will not be able to check it.

RESPONSE

An example of a response with an order number when requesting via API.
Response in JSON format.

{
"quantity":"200",
"link":"https://www.instagram.com/jaholper/",
"charge":"0.15",
"service":"20",
"remains":"160",
"status":"Partial",
"start_count":"1400",
"cancel_info":"Invalid link.",
"currency":"USD"
}

Multiple orders status
  1. key
    1. Your API key specified in your account profile.
  2. action
    1. status
  3. orders
    1. Order IDs separated by commas.
    2. No more than 1000 orders can be sent at a time.

RESPONSE

An example of a response with an order number when requesting via API.
Response in JSON format.

{
  "301456340":{
     "charge":"0.15",
     "remains":"0",
     "status":"Completed",
     "start_count":"150",
     "currency":"USD"
  },
  "300450291":{
     "charge":"2",
     "remains":"100",
     "status":"In progress",
     "start_count":"16790",
     "currency":"USD"
  }
}

Order cancellation
  1. key
    1. Your API key specified in your account profile.
  2. action
    1. cancel
  3. order
    1. The order ID specified in the list of your orders.

RESPONSE

An example of a response with an order number when requesting via API.
Response in JSON format.

{"success":true}

Multiple order cancellations
  1. key
    1. Your API key specified in your account settings.
  2. action
    1. cancel
  3. orders
    1. Order IDs separated by commas in GET or POST.
    2. No more than 1000 orders at a time.

Response

Example of our API response for multiple order cancellations.
Response in JSON.

{"success":true}

Order refill
  1. key
    1. Your API key specified in your account settings.
  2. action
    1. refill
  3. order
    1. The order ID specified in the list of your orders.

Response

An example of our API response to a refill request.
Response in JSON.

{"success":true}

Balance
  1. key
    1. Your API key specified in your account settings.
  2. action
    1. balance

Response

Example of an API response for checking a user balance.
Response in JSON.

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

List of services
  1. key
    1. Your API key specified in your account settings.
  2. action
    1. services

Response

Example of a response with a list of services.
Response in JSON.

[{
"service":"35",
"name":"Instagram Likes [No drop]",
"type":"Default",
"refill":true,
"category":"4",
"rate":"36",
"min":"10",
"max":"5000",
"drops":"3",
"speed_per_hour":"1554",
"max_done_count_day":"24577",
"limit":"300K (100K per day)",
"queue_time_minutes":0,
"cancel":true
}]

Multiple order creation
  1. key
    1. Method: GET
    2. Your API key specified in your account settings.
  2. action
    1. Method: GET
    2. massorder
  3. orders
    1. Method: POST
    2. Maximum 500 orders per request.
    3. Example of a body in JSON format:
    4. [{
      "service":"9",
      "order_id":"1",
      "quantity":100,
      "link":"https:\/\/www.instagram.com\/jaholper\/"
      },
      {
      "service":"9",
      "order_id":"2",
      "quantity":100,
      "link":"bigstata"
      }]

Response

Response example for multiple order additions.
Response in JSON.

[{
"order_id": "1",
"order": "333250665",
"charge": 1.1
},
{
"order_id": "2",
"Error": "Not enough funds."
}]