Blacklist
A list of all publicly available methods for interacting with the API.
GET
Check site in blacklist -/blacklist/check
Query method
GEThttp://apilocal.stableproxy.com/v2/blacklist/check
Query parameters
Identifier | Regulations | Example |
---|---|---|
domain | required | "pay.com" |
Code examples
JavaScript
1async function getBlacklistCheck() {
2 const baseUrl = 'http://apilocal.stableproxy.com/v2';
3 const req = await fetch(baseUrl + '/blacklist/check?' + Object.entries({
4 "domain": "pay.com"
5 }).map(([key, value]) => key + "=" + value).join('&'), {
6 method: 'GET',
7 headers: {
8 'Content-Type': 'application/json'
9 }
10 }
11 );
12
13 const res = await req.json();
14}