Services

ProjectOptimizationGetListUrlCondition

Get the current url condition with a trend for the last crawl



Cost per call: 10.00

The url condition measures a project optimization level.

Url condition is calculated using the number of identified errors, warnings and suggestions according to the url.

Please note: The API key for this call must be from the account that owns the queried project. API keys from invited users do not work.



Parameter description

GET

ParameterDescription
project_id (required)ID of the project that should be queried.
The ID can be found in the URL when viewing the project in the Searchmetrics Suite.

Format: integer


Example

HTTP Request:
http://api.searchmetrics.com/v3/ProjectOptimizationGetListUrlCondition.json?project_id=1000&access_token=xxxxx


Response:
{
	"top" : {
		"count" : 11
		"trend" : {
				"trend" : 0,
				"abs" : 0,
				"per" : 0
		}

	},
	"good" : {
		"count" : 11
		"trend" : {
				"trend" : 0,
				"abs" : 0,
				"per" : 0
		}

	},
	"average" : {
		"count" : 11
		"trend" : {
				"trend" : 0,
				"abs" : 0,
				"per" : 0
		}

	},
	"flop" : {
		"count" : 11
		"trend" : {
				"trend" : 0,
				"abs" : 0,
				"per" : 0
		}

	}
}


Result Description

KeyDescription
countNumber of urls
trendThe element 'trend' can be interpreted as follows
* 0: no change
* 1: pointing up
* -1: going down
absthe absolute change in comparison to the to the last crawl
perthe relative/percentual change in comparison to the last crawl