Websites

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List

API endpoint:

GET
https://analizador.ar/api/v1/websites

Request example:

curl --location --request GET 'https://analizador.ar/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Descripción
search
optional string
The search query.
sort
optional string
Sort. Possible values are: desc for Z-A, asc for A-Z.
per_page
optional int
Resultados por página. Possible values are: 10 to 100. Defaults to: 10.
Show

API endpoint:

GET
https://analizador.ar/api/v1/websites/{id}

Request example:

curl --location --request GET 'https://analizador.ar/api/v1/websites/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Store

API endpoint:

POST
https://analizador.ar/api/v1/websites

Request example:

curl --location --request POST 'https://analizador.ar/api/v1/websites' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Type
Descripción
url
required string
The website's URL.
privacy
optional integer
Stats page privacy. Possible values are: 0 for Publico, 1 for Privado, 2 for Contraseña. Defaults to: 1.
password
optional string
The password for the statistics page. Only works with privacy set to 2.
email
optional integer
Periodic email reports. Possible values are: 0 for Inactivo, 1 for Activo. Defaults to: 0.
exclude_bots
optional integer
Exclude common bots from being tracked. Possible values are: 0 for Inactivo, 1 for Activo. Defaults to: 1.
exclude_ips
optional string
Exclude IPs from being tracked. Uno por línea.
Update

API endpoint:

PUT PATCH
https://analizador.ar/api/v1/websites/{id}

Request example:

curl --location --request PUT 'https://analizador.ar/api/v1/websites/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Type
Descripción
privacy
optional integer
Stats page privacy. Possible values are: 0 for Publico, 1 for Privado, 2 for Contraseña.
password
optional string
The password for the statistics page. Only works with privacy set to 2.
email
optional integer
Periodic email reports. Possible values are: 0 for Inactivo, 1 for Activo.
exclude_bots
optional integer
Exclude common bots from being tracked. Possible values are: 0 for Inactivo, 1 for Activo.
exclude_ips
optional string
Exclude IPs from being tracked. Uno por línea.
Borrar

API endpoint:

DELETE
https://analizador.ar/api/v1/websites/{id}

Request example:

curl --location --request DELETE 'https://analizador.ar/api/v1/websites/{id}' \
--header 'Authorization: Bearer {api_key}'