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,
        "points": 803.57,
        "membership": "VIP"
    }
}
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

{
    "status": "ok",
    "messages": [
        "Fetched 1"
    ],
    "data": [
        {
            "id": 812031,
            "title": "My Site",
            "isAdult": 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,
            "maxPopups": 3,
            "allowProxy": true,
            "allowIPv6": true,
            "allowBlockedPopups": true,
            "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,
            "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,
    "urls": [
        "http://my-site.com/about.html"
    ],
    "duration": [
        22,
        70
    ]
}

{
    "title": "My Site",
    "isAdult": 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,
    "maxPopups": 3,
    "allowProxy": false,
    "allowIPv6": false,
    "allowBlockedPopups": false,
    "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,
    "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.

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

{
    "id": 400466,
    "title": "My New Site",
    "isAdult": 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
}
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",
    "amount" : 100
}

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

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