Link Test
Find hops or redirect of a link
Single Link Test
POST https://panel.offersoptimize.com/api/v2/test
Headers
x-api-key
string
{api-key}
Request Body
callback_url
string
System will Post the test result to this URL
link
string
URL eg: https://www.google.com
country
string
Country Code eg: IN, US
os_version
string
e.g 9.0, 10.0
platform
string
Platform name to test from Valid platform name: android_phone, android_tablet, ios_iphone, ios_ipad, windows_desktop
city
string
eg. delhi
isp
string
ISP ASN Code eg: 55836
{
"success": true,
"message": "Link Tested Successfully",
"data": {
"result": {
"id": "5ee763d7bae702460108416a",
"test_url": "https://c.opicle360.com/?a=2&c=4575&E=4Es0r79Dmu0%3d&s1=",
"final_url": "https://offer.trackrpm.com/click?campaign_id=9&pub_id=21&p1=1-brjm7mcthi0sjpch5q20&p2=2",
"hops": 2,
"platform": "ios_iphone",
"os_ver": "13.0",
"country": "US",
"city": null,
"isp": null,
"redirects": [
{
"url": "https://c.opicle360.com/?a=2&c=4575&E=4Es0r79Dmu0%3d&s1=",
"status": 302,
"time": 1907
},
{
"url": "https://c.mydigiera.com/?a=2&c=4575&E=4Es0r79Dmu0%3d&s1=&ckmguid=brjm7mcthi0sjpch5q0g",
"status": 302,
"time": 1919
},
{
"url": "https://offer.trackrpm.com/click?campaign_id=9&pub_id=21&p1=1-brjm7mcthi0sjpch5q20&p2=2",
"status": 200,
"time": 2235
}
],
"offer_id": "YoLL",
"integration_id": "XYZ",
"auto_test_id": null,
"test_time": "2020-06-15T12:04:47Z",
"total_ms": 6061
}
}
}Sample Request Body
Sample CURL Request
Bulk Link Test
POST https://panel.offersoptimize.com/api/v2/bulk-test
You can test maximum 50 link in single request.
Headers
x-api-key
string
{api-key}
Request Body
callback_url
string
System will Post the test result to this URL.
tests
array
Array of link test objects
TestCase object is same as single link test body params as above shown.
Sample Bulk Test Request Body
TestCase object Description.
Sample CURL Request
Last updated
Was this helpful?