Copy-ready PHP code for every action, with the response you get back.
Replace Your API Key and Your email with your own — find them on the API details page. Every request is a POST to https://panel.seoestore.net/action/api.php.
Make an order
action: order
Place a new order for a service, with optional extras, article category, tracking ID and notes.
Request
PHP
$url = 'https://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);
Response
JSON
{
"order": 269013
}
Make a tier 2 order
action: order
Build a tier project on top of your tier 1 orders: send tier=1 and the tier 1 order IDs instead of links and keywords.
Request
PHP
$url = 'https://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);
Response
JSON
{
"order": 269014
}
Get order details
action: order_details
Read the full details of one order.
Request
PHP
$url = 'https://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);
Check the status of one order. The four possible answers are shown below.
Request
PHP
$url = 'https://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);
Possible responses
JSON
{
"order_id": "269013",
"status": "Pending"
}
JSON
{
"order_id": "269013",
"status": "Processing"
}
JSON
{
"order_id": "269013",
"status": "Completed"
}
JSON
{
"order_id": "269013",
"status": "Canceled"
}
Cancel an order
action: order_cancel
Cancel an order while it is still pending. The price is refunded to your balance.
Request
PHP
$url = 'https://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_cancel',//action must included in every request'order_id'=>'269013'//must included with action: order_cancel
);
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);
Response
JSON
{
"order_id": "269013",
"status": "Canceled"
}
List your API orders
action: order_list
Get the IDs of all orders made through your API.
Request
PHP
$url = 'https://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_list',//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);
Get the status and report of up to 50 orders at once.
Request
PHP
$url = 'https://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'=>'orders_check',//action must included in every request'order_ids'=>'[269013,269014,268999]'//must included with action: orders_check
);
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);
Get the download link of a completed order report.
Request
PHP
$url = 'https://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);
$url = 'https://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);