API PHP Examples

PHP example codes

Order example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'order',//action must included in every request
    'service'=>'1',//must included with action: order
    'quantity'=>'2',//must included with action: order
    'extras'=>'6,11',//must included with action: order
    'links'=>"http://link1.com\r\nhttp://link2.com",//must included with action: order & no tier or tier=0
    'keywords'=>'keyword1,keyword2,keyword3',//must included with action: order & no tier or tier=0
    'article'=>'business_search-engine-optimization',//optional
    'ref_id'=>'myTrackingID',//optional
    'notes'=>'my notes'//optional
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
{
    "order": 269013
}

Tier2 order example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'order',//action must included in every request
    'service'=>'9',//must included with action: order
    'quantity'=>'100',//must included with action: order
    'extras'=>'1',//must included with action: order
    'tier'=>'1',//converting order to tier project
    'tier_orders'=>'269012,269013',//must included with action: order & tier=1
    'article'=>'business_search-engine-optimization',//optional
    'ref_id'=>'myTrackingID',//optional
    'notes'=>'my notes'//optional
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
{
    "order": 269014
}

Order details example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'order_details',//action must included in every request
    'order_id'=>'269013'//must included with action: order_details
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
{
    "order_id": "269013",
    "service_id": "1",
    "extras_id": "6,11",
    "quantity": "2",
    "price": "510",
    "links": "http:\/\/link1.com\r\nhttp:\/\/link2.com",
    "keywords": "keyword1,keyword2,keyword3",
    "date": "2016-06-18 13:04:11"
}

Order details example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'order_status',//action must included in every request
    'order_id'=>'269013'//must included with action: order_status
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
{
    "order_id": "269013",
    "status": "Pending"
}
{
    "order_id": "269013",
    "status": "Processing"
}
{
    "order_id": "269013",
    "status": "Completed"
}
{
    "order_id": "269013",
    "status": "Canceled"
}

Order details example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'report',//action must included in every request
    'order_id'=>'269013'//must included with action: report
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
{
    "order_id": "268999",
    "report": "reports\/AAA\/11-22\/269013.zip",
    "report_link": "https:\/\/ses-rpts.s3.amazonaws.com\/reports\/AAA\/11-22\/269013.zip"
}

Order details example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'services'//action must included in every request
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
[
    {
        "id": "22",
        "code": "WEB2",
        "description": "Web 2.0 blogs (Shared accounts)",
        "min_qty": "10",
        "price": "7.000"
    },
    {
        "id": "25",
        "code": "WEB2+ACC",
        "description": "Web 2.0 blogs (Dedicated accounts)",
        "min_qty": "20",
        "price": "13.000"
    },
    {
        "id": "19",
        "code": "DA70",
        "description": "Root domain PR9 (Domain Authority 70+)",
        "min_qty": "1",
        "price": "25.000"
    },
    {
        "id": "27",
        "code": "DA50",
        "description": "Domain Authority 50+ - Root domain ",
        "min_qty": "10",
        "price": "15.000"
    },
    {
        "id": "28",
        "code": "DA30",
        "description": "Domain Authority 30+ - Root domain ",
        "min_qty": "10",
        "price": "7.000"
    },
    {
        "id": "29",
        "code": "FM+",
        "description": "The full monty Premium Edition (high DA sites list)",
        "min_qty": "1",
        "price": "500.000"
    },
    {
        "id": "26",
        "code": "FM-TNG",
        "description": "SEnuke TNG - The full monty 2016 - Campaign",
        "min_qty": "1",
        "price": "200.000"
    },
    {
        "id": "3",
        "code": "FM-2015",
        "description": "SEnuke - The full monty template 2015 - Campaign",
        "min_qty": "1",
        "price": "150.000"
    },
    {
        "id": "2",
        "code": "FM-2014",
        "description": "SEnuke - The full monty template 2014 - Campaign",
        "min_qty": "1",
        "price": "150.000"
    },
    {
        "id": "1",
        "code": "FM-V4",
        "description": "SEnuke - The full monty template V4 (2012) - Campaign",
        "min_qty": "1",
        "price": "150.000"
    },
    {
        "id": "4",
        "code": "EDU",
        "description": ".EDU backlinks (include .edu.xxx domains - mix platforms)",
        "min_qty": "50",
        "price": "0.400"
    },
    {
        "id": "6",
        "code": "DOFOLLOW",
        "description": "Do-follow backlinks (mix platforms)",
        "min_qty": "100",
        "price": "0.100"
    },
    {
        "id": "23",
        "code": "MIX",
        "description": "Mix platforms backlinks",
        "min_qty": "100",
        "price": "0.050"
    },
    {
        "id": "5",
        "code": "ARTICLES",
        "description": "Article directories backlinks (contextual backlinks)",
        "min_qty": "100",
        "price": "0.100"
    },
    {
        "id": "9",
        "code": "PROFILES",
        "description": "Mix profiles backlinks (forum & social networks)",
        "min_qty": "100",
        "price": "0.033"
    },
    {
        "id": "10",
        "code": "SN-P",
        "description": "Social networks profiles backlinks",
        "min_qty": "100",
        "price": "0.033"
    },
    {
        "id": "11",
        "code": "FORUM-P",
        "description": "Forum profiles backlinks",
        "min_qty": "100",
        "price": "0.033"
    },
    {
        "id": "7",
        "code": "WIKI",
        "description": "Wiki backlinks (mix profiles & articles)",
        "min_qty": "100",
        "price": "0.050"
    },
    {
        "id": "8",
        "code": "WIKI-A",
        "description": "Wiki articles Backlinks (contextual backlinks)",
        "min_qty": "100",
        "price": "0.067"
    },
    {
        "id": "21",
        "code": "COMMENTS",
        "description": "Blog\/image\/other comments backlinks",
        "min_qty": "100",
        "price": "0.100"
    },
    {
        "id": "24",
        "code": "F-POST",
        "description": "Forum posting backlinks (NOT recommended)",
        "min_qty": "100",
        "price": "0.100"
    },
    {
        "id": "20",
        "code": "SHORTENET",
        "description": "URL shortener backlinks",
        "min_qty": "100",
        "price": "0.033"
    },
    {
        "id": "18",
        "code": "EXPLOIT",
        "description": "Exploit backlinks",
        "min_qty": "100",
        "price": "0.033"
    }
]

Order details example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'extras'//action must included in every request
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
[
    {
        "id": "1",
        "code": "i",
        "description": "Indexer #1 (95%+ Crawled rate)",
        "price": "0.01"
    },
    {
        "id": "2",
        "code": "i2",
        "description": "Indexer #2 (Very High indexer rate)",
        "price": "0.10"
    },
    {
        "id": "3",
        "code": "i3",
        "description": "Indexer #3 (Maximum indexer rate)",
        "price": "0.25"
    },
    {
        "id": "5",
        "code": "s-i",
        "description": "Indexer #1 for all SEnuke campaign links (95%+ Crawled rate)",
        "price": "10.00"
    },
    {
        "id": "6",
        "code": "s-i2",
        "description": "Indexer #2 for all SEnuke campaign links (Very High indexer rate)",
        "price": "100.00"
    },
    {
        "id": "7",
        "code": "s-i3",
        "description": "Indexer #3 for all SEnuke campaign links (Maximum indexer rate)",
        "price": "250.00"
    },
    {
        "id": "10",
        "code": "c",
        "description": "2nd Captcha backup (Human, 130% more results)",
        "price": "200.00"
    },
    {
        "id": "11",
        "code": "rtcl100",
        "description": "100 Unique Articles for submission",
        "price": "10.00"
    },
    {
        "id": "12",
        "code": "rtcl500",
        "description": "500 Unique Articles for submission",
        "price": "50.00"
    },
    {
        "id": "13",
        "code": "rtcl1000",
        "description": "1000 Unique Articles for submission",
        "price": "100.00"
    },
    {
        "id": "14",
        "code": "rtcl5k",
        "description": "5,000 Unique Articles for submission",
        "price": "500.00"
    }
]

Order details example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'service_extras',//action must included in every request
    'service_id'=>'1'//must included with action: service_extras
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
[
    {
        "id": "5",
        "code": "s-i",
        "description": "Indexer #1 for all SEnuke campaign links (95%+ Crawled rate)",
        "price": "10.00"
    },
    {
        "id": "6",
        "code": "s-i2",
        "description": "Indexer #2 for all SEnuke campaign links (Very High indexer rate)",
        "price": "100.00"
    },
    {
        "id": "7",
        "code": "s-i3",
        "description": "Indexer #3 for all SEnuke campaign links (Maximum indexer rate)",
        "price": "250.00"
    },
    {
        "id": "10",
        "code": "c",
        "description": "2nd Captcha backup (Human, 130% more results)",
        "price": "200.00"
    },
    {
        "id": "11",
        "code": "rtcl100",
        "description": "100 Unique Articles for submission",
        "price": "10.00"
    },
    {
        "id": "12",
        "code": "rtcl500",
        "description": "500 Unique Articles for submission",
        "price": "50.00"
    },
    {
        "id": "13",
        "code": "rtcl1000",
        "description": "1000 Unique Articles for submission",
        "price": "100.00"
    },
    {
        "id": "14",
        "code": "rtcl5k",
        "description": "5,000 Unique Articles for submission",
        "price": "500.00"
    }
]

Order details example

Example code
$url = 'http://panel.seoestore.net/action/api.php';
$api_key = 'Your API Key';
$email = 'Your email';

$data = Array(
    'api_key'=>$api_key,//must included in every request
    'email'=>$email,//must included in every request
    'action'=>'balance',//action must included in every request
    );

if (is_array($data)) {
  foreach ($data as $key => $value) {
    $_post[] = $key.'='.$value;
  }
}

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
curl_close($ch);
Example response
{
    "balance": "10000"
}