Services

ProjectOptimizationGetListContentDetail

Retrieve data for a content opt crawl



Cost per call: 1.00



Parameter description

GET

ParameterDescription
crawl_id (required)Id of the crawl you want to get

Format: integer
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
limit (optional)Limit of result

Format: integer
offset (optional)Offset of result

Format: integer
show (optional)Witch information to retrieve

Format: kpis, keywords, urls or phrases_2
sort (optional)
type (optional)Type of Keywords

Format: string


Example

HTTP Requests:
http://api.searchmetrics.com/v3/ProjectOptimizationGetListContentDetail.json?crawl_id=99999&project_id=1000&show=kpis&limit=10&access_token=xxxxx

Response (show=kpis):
{
    "status": 200,
    "opt_set": false,
    "crawl": [{
        "url": "http://www.shopping.de/",
        "status": 200,
        "timeSec": 2.162931,
        "sizeBytes": 98736,
        "charset": "UTF-8",
        "title": "shopping angebote sparen mit bis zu 70 prozent rabatt shopping de",
        "h1": [],
        "h2": [
            "nächste events / aktionen",
            "'+ name +'",
            "'+ name +'"
        ],
        "elements": {
            "h1": 0,
            "h2": 3,
            "img": 37,
            "video": 0,
            "author": 0
        },
        "termCount": 595
    }],
    "crawled_urls": 30,
    "docs_total": 30,
    "crawl_id": 104479
}



http://api.searchmetrics.com/v3/ProjectOptimizationGetListContentDetail.json?crawl_id=99999&project_id=1000&show=keywords&limit=10&auth_token=xxxxx

Response (show=keywords):
[{
    "keyword": "store",
    "idfwdf_max" : 34.916892362858,
    "wdf_max" : 0.43057826264971,
    "tf_total" : 55,
    "tf_avg" : 5.5,
    "tft_total" : 0,
    "tfk_total" : 4,
    "tfd_total" : 0,
    "tfh1h2_total" : 1,
    "docs_total" : 8,
    "docs_perc" : 80,
    "idf" : 0.81093021621633,
    "type" : NULL,
    "opt_tf" : 1,
    "opt_wdf" : 0.08616619403306,
    "opt_idfwdf" : 6.9874770357767,
    "docs" : [{"url":"www.ebay.com","link":true,"tf":5,"idfwdf":19.763470197658,"opt":true}],
    "phrases" : ["clothing accessories"],
}]



http://api.searchmetrics.com/v3/ProjectOptimizationGetListContentDetail.json?crawl_id=99999&project_id=1000&show=urls&limit=10&auth_token=xxxxx

Response (show=urls):
[{
    "url": "http://www.shopping.de/",
    "term_count": 595,
    "author": 0,
    "opt": false
}]



http://api.searchmetrics.com/v3/ProjectOptimizationGetListContentDetail.json?crawl_id=99999&project_id=1000&show=phrases_2&limit=10&auth_token=xxxxx

Response (show=phrases_2):
[{
    "docs_total": 6,
    "tf_total": 6,
    "docs": [{
        "url": "http://www.voxnow.de/shopping-queen.php",
        "link": true,
        "tf": 1,
        "opt": false
    }],
    "opt_tf": null,
    "tf_avg": 0.2,
    "docs_perc": 20,
    "keyword": "nutzungsbasierte werbung"
}]