Statistics

Get user traffic stats

get
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>"}' -H "Content-Type: application/json" -X POST -s https://api.goproxies.com/api/v1/login | jq -r '.token'

Substitute <username> and <password> with your credentials.

Query parameters
countrystringOptional

Filter by country

start_atstring · date-timeOptional

Filter by start date

Default: end of current day
end_atstring · date-timeOptional

Filter by end date

Default: start of the current month
usernamestringOptional

Filter by username of subuser.

Responses
200

OK

application/json
get
/api/v1/stats/traffic

Get user traffic stats history

get
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>"}' -H "Content-Type: application/json" -X POST -s https://api.goproxies.com/api/v1/login | jq -r '.token'

Substitute <username> and <password> with your credentials.

Query parameters
countrystringOptional

Filter by country

start_atstring · date-timeOptional

Filter by start date

Default: end of current day
end_atstring · date-timeOptional

Filter by end date

Default: start of the current month
intervalstring · enumOptional

Group history into values by given interval

Possible values:
usernamestringOptional

Filter by username of subuser.

Responses
200

OK

application/json
get
/api/v1/stats/traffic/history

Get user requests history

get
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>"}' -H "Content-Type: application/json" -X POST -s https://api.goproxies.com/api/v1/login | jq -r '.token'

Substitute <username> and <password> with your credentials.

Query parameters
countrystringOptional

Filter by country

start_atstring · date-timeOptional

Filter by start date

Default: end of current day
end_atstring · date-timeOptional

Filter by end date

Default: start of the current month
intervalstring · enumOptional

Group history into values by given interval

Possible values:
usernamestringOptional

Filter by username of subuser.

statusintegerOptional

Filter by request status

status_notintegerOptional

Filter by request status not equal to

Responses
200

OK

application/json
get
/api/v1/stats/requests/history

Get countries used in traffic

get

Get list of countries used in traffic statistics (in country code in 2-letter 3166-1 alpha-2 format).

Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>"}' -H "Content-Type: application/json" -X POST -s https://api.goproxies.com/api/v1/login | jq -r '.token'

Substitute <username> and <password> with your credentials.

Responses
200

OK

application/json
get
/api/v1/stats/countries

Last updated

Was this helpful?