9Hits API

9Hits API allows you to access and manage some resources from the 9Hits Panel. You can get your API key from your profile page.
Get your profile. #

Return your profile information.

Endpoint: GET https://panel.9hits.com/api/profileGet?key=YOUR_API_KEY

{
    "status": "ok",
    "messages": null,
    "data": {
        "username": "daniel",
        "email": "[email protected]",
        "joined": "2015-02-21 15:32:44",
        "token": "1a8cb897ca8b97c897c98a7cbd880123",
        "funds": 38.288,
        "slots": {
            "used": 5,
            "available": 78
        },
        "points": 803.57,
        "membership": "VIP",
        "membershipEndDate": "2021-01-31 22:03:27"
    }
}
Get your custom user agent. #

Return all your custom user agent group.

Endpoint: GET https://panel.9hits.com/api/uaGet?key=YOUR_API_KEY

{
    "status": "ok",
    "messages": [
        "Fetched 2"
    ],
    "data": [
        {
            "id": 743,
            "title": "My Customize Firefox"
        },
        {
            "id": 2467,
            "title": "iPhone6"
        }
    ]
}
Get your campaigns. #

Return all your campaigns.

Endpoint: GET https://panel.9hits.com/api/siteGet?key=YOUR_API_KEY[&filter=condition]

Get all your campaign:
GET https://panel.9hits.com/api/siteGet?key=YOUR_API_KEY

Get all your campaigns filtered by title or url:
GET https://panel.9hits.com/api/siteGet?key=YOUR_API_KEY&filter=my%20site
GET https://panel.9hits.com/api/siteGet?key=YOUR_API_KEY&filter=my-site.com

Get a single campaign by id:
GET https://panel.9hits.com/api/siteGet?key=YOUR_API_KEY&filter=id:812031

{
    "status": "ok",
    "messages": [
        "Fetched 1"
    ],
    "data": [
        {
            "id": 812031,
            "title": "My Site",
            "isAdult": false,
            "hasCoinMining": false,
            "urls": [
                "https://my-site.com"
            ],
            "referrers": {
                "mode": "basic",
                "urls": [
                    "https://www.facebook.com",
                    "https://www.google.com",
                ]
            },
            "duration": [
                59,
                70
            ],
            "platforms": {
                "mobile": 50,
                "desktop": 48,
                "custom": 2,
                "custom-ua": [
                    "743"
                ]
            },
            "macros": "await WaitForLoading();\r\nwhile(true)\r\n{\r\n    await Delay(Random(5000, 15000));\r\n    await ClickRandomLink();\r\n}",
            "popupMacros": "await WaitForLoading();\r\nwhile(true)\r\n{\r\n    await Delay(Random(5000, 15000));\r\n    await ClickRandomLink();\r\n}",
            "connectionTypes": [
                "system",
                "http",
                "socks4",
                "socks5",
                "ssh"
            ],
            "connectionSpeed": "slow+",
            "performance": "slow+",
            "geo": {
                "rule": "all",
                "by": "country",
                "codes": null
            },
            "acceptLanguages": null,
            "capping": {
                "type": "own",
                "value": 0,
                "shared": 0
            },
            "maxHits": 0,
            "untilDate": "2021/10/13 06:08:04",
            "estimatedHits": 123456,
            "confirmedHits": 123000,
            "maxPopups": 3,
            "fingerprintSpoof": true,
            "allowProxy": true,
            "allowIPv6": true,
            "allowBlockedPopups": true,
            'ipFilter' => [
                'type' => "0",
                'rules' => "1.55.*,223.54.1.*,2001:2f:*",
            ],
            "hourlyLimit": {
                "speed": "fast",
                "hours": [
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    },
                    {
                        "min": 0,
                        "max": 0
                    }
                ]
            },
            "disJsRate": 0,
            "disImageRate": 0,
            "disCookieRate": 100,
            "cpuUsage": 0.57,
            "forceHide": true,
            "adSafe": "google-ads",
            "webSecurity": false,
            "alexaEnabled": true,
            "userState": "running",
            "systemState": "approved"
        }
    ]
}
Add new campaign. #

The request body contains your campaign information in JSON format.

Endpoint: POST https://panel.9hits.com/api/siteAdd?key=YOUR_API_KEY

{
    "title": "My Site",
    "isAdult": false,
    "hasCoinMining": false,
    "urls": [
        "http://my-site.com/about.html"
    ],
    "duration": [
        22,
        70
    ]
}

{
    "title": "My Site",
    "isAdult": false,
    "hasCoinMining": false,
    "urls": [
        "http://my-site.com/about.html",
        "http://my-site.com/pricing.html"
    ],
    "referrers": {
        "mode": "advanced",
        "urls": [
            {
                "url": "https://www.fb.com",
                "rate": 70
            },
            {
                "url": "https://www.twitter.com",
                "rate": 30
            }
        ]
    },
    "duration": [
        22,
        70
    ],
    "platforms": {
        "mobile": 32,
        "desktop": 66,
        "custom": 2,
        "custom-ua": [743, 746]
    },
    "macros": "await WaitForLoading();\r\nwhile(true)\r\n{\r\n    await Delay(Random(5000, 15000));\r\n    await ClickRandomLink();\r\n}",
    "popupMacros": "await WaitForLoading();\r\nwhile(true)\r\n{\r\n    await Delay(Random(5000, 15000));\r\n    await ClickRandomLink();\r\n}",
    "connectionTypes": [
        "system",
        "http",
        "socks4",
        "socks5",
        "ssh"
    ],
    "connectionSpeed": "medium+",
    "performance": "medium+",
    "geo": {
        "rule": "all",
        "by": "country",
        "codes": ["US", "VN"]
    },
    "acceptLanguages": null,
    "capping": {
        "type": "shared",
        "value": 86400,
        "shared": 324153
    },
    "maxHits": 110,
    "untilDate": "2021/10/13 06:08:04",
    "maxPopups": 3,
    "fingerprintSpoof": true,
    "allowProxy": false,
    "allowIPv6": false,
    "allowBlockedPopups": false,
    'ipFilter' => [
        'type' => "0",
        'rules' => "1.55.*,223.54.1.*,2001:2f:*",
    ],
    "hourlyLimit": {
        "speed": "fast",
        "hours": [
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 10,
                "max": 10
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            },
            {
                "min": 0,
                "max": 0
            }
        ]
    },
    "disJsRate": 0,
    "disImageRate": 0,
    "disCookieRate": 100,
    "forceHide": true,
    "adSafe": "google-ads",
    "webSecurity": false,
    "alexaEnabled": true,
    "userState": "running"
}

{
    "status": "ok",
    "messages": [
        "Created #400466"
    ],
    "data": null
}
Update a campaign. #

The request body contains your campaign information in JSON format, just similar to the request body of adding a campaign, but you need to add the campaign id, you don't need to submit all campaign information, just specify the information you need to update. You can also submit resetHitCounter (optional ) as true to reset hit counter.

Endpoint: POST https://panel.9hits.com/api/siteUpdate?key=YOUR_API_KEY

{
    "id": 400466,
    "title": "My New Site",
    "resetHitCounter": true,
    "urls": [
        "http://my-site.com/new-post1.html",
        "http://my-site.com/new-post2.html"
    ],
    ...
}

{
    "status": "ok",
    "messages": [
        "Updated #400466"
    ],
    "data": null
}
Delete campaigns. #

Delete your campaigns by id

Endpoint: POST https://panel.9hits.com/api/siteDel?key=YOUR_API_KEY

[400466, 400467, 400468]

{
    "status": "ok",
    "messages": null,
    "data": null
}
Session Stats. #

Get your session stats

Endpoint: GET https://panel.9hits.com/api/sessionStats?key=YOUR_API_KEY

{
    "status": "ok",
    "messages": null,
    "data": {
        "total": 1,
        "online": 1,
        "system": 1,
        "http": 0,
        "socks4": 0,
        "socks5": 0,
        "ssh": 0,
        "isProxy": 0
    }
}
Transfer Points. #

Transfer points from your account to an other member

Endpoint: POST https://panel.9hits.com/api/transfer?key=YOUR_API_KEY

{
    "receiver" : "daniel",
    "message" : "Hi, a small gift for you ;)",
    "amount" : 100
}

{
    "status": "ok",
    "messages": [
        "You have sent 90 points to daniel"
    ],
    "data": {
        "sender": "john",
        "receiver": "daniel",
        "amount": 100,
        "net": 90,
        "fee": 10
    }
}

Transfer Funds. #

Transfer funds from your account to an other member. This function is for reseller only.

Endpoint: POST https://panel.9hits.com/api/fund?key=YOUR_API_KEY

{
    "receiver" : "daniel",
    "message" : "Thank you",
    "amount" : 100
}

{
    "status": "ok",
    "messages": [
        "You have sent $100 to daniel"
    ],
    "data": {
        "sender": "john",
        "receiver": "daniel",
        "amount": 100,
        "commission": 15
    }
}

Want more functions? Feel free to create a request ticket!

By using our site, you acknowledge that you have read and understood our Cookie Policy, Privacy Policy and our Terms of Service