List of search terms that returned results, ordered by most popular terms

  • user_query - term searched for
  • result_count - number of results returned from search
  • times_seen - number of times term was searched for

Can optionally filter against the following query parameters in the URL:

  • start_date - only include queries made on or after this date in YYYY-MM-DD format
  • end_date - only include queries made on or before this date in YYYY-MM-DD format
  • min_count - only include queries that have been made at least this number of times (min 5)
  • min_results - only include queries that have returned at least this many results

NB: all filter terms are inclusive so e.g. a start_date of 2021-08-12 will include searches made on that date.

GET /api/searchterms/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 67,
    "next": null,
    "previous": null,
    "results": [
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 58,
            "times_seen": 39,
            "council_restriction": ""
        },
        {
            "user_query": "stockport",
            "result_count": 3,
            "times_seen": 36,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 50,
            "times_seen": 34,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 55,
            "times_seen": 34,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 153,
            "times_seen": 32,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 168,
            "times_seen": 27,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 55,
            "times_seen": 27,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 57,
            "times_seen": 26,
            "council_restriction": ""
        },
        {
            "user_query": "\"Fi\"",
            "result_count": 9,
            "times_seen": 25,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 57,
            "times_seen": 25,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 58,
            "times_seen": 24,
            "council_restriction": ""
        },
        {
            "user_query": "\"Fields in Trust\"",
            "result_count": 3,
            "times_seen": 23,
            "council_restriction": ""
        },
        {
            "user_query": "\"electric taxis\"",
            "result_count": 16,
            "times_seen": 22,
            "council_restriction": ""
        },
        {
            "user_query": "\"electric taxis\"",
            "result_count": 17,
            "times_seen": 18,
            "council_restriction": ""
        },
        {
            "user_query": "increasing biodiversity",
            "result_count": 392,
            "times_seen": 18,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 390,
            "times_seen": 18,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 52,
            "times_seen": 16,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 408,
            "times_seen": 15,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 407,
            "times_seen": 15,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 149,
            "times_seen": 15,
            "council_restriction": ""
        },
        {
            "user_query": "\"Fi\"",
            "result_count": 10,
            "times_seen": 14,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 383,
            "times_seen": 14,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 48,
            "times_seen": 13,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 382,
            "times_seen": 13,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 391,
            "times_seen": 11,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 399,
            "times_seen": 11,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 400,
            "times_seen": 11,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 358,
            "times_seen": 11,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 390,
            "times_seen": 11,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 399,
            "times_seen": 11,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 385,
            "times_seen": 10,
            "council_restriction": ""
        },
        {
            "user_query": "plymouth",
            "result_count": 8,
            "times_seen": 10,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 374,
            "times_seen": 9,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 384,
            "times_seen": 9,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 163,
            "times_seen": 9,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 359,
            "times_seen": 9,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 374,
            "times_seen": 9,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 373,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 398,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 401,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 151,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 159,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "commut",
            "result_count": 172,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 49,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 370,
            "times_seen": 8,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 393,
            "times_seen": 7,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 402,
            "times_seen": 7,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 392,
            "times_seen": 7,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 54,
            "times_seen": 7,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 384,
            "times_seen": 7,
            "council_restriction": ""
        },
        {
            "user_query": "social care",
            "result_count": 322,
            "times_seen": 7,
            "council_restriction": ""
        },
        {
            "user_query": "air pollution",
            "result_count": 344,
            "times_seen": 6,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 161,
            "times_seen": 6,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 166,
            "times_seen": 6,
            "council_restriction": ""
        },
        {
            "user_query": "climate action board",
            "result_count": 407,
            "times_seen": 6,
            "council_restriction": ""
        },
        {
            "user_query": "\"expenses\"",
            "result_count": 95,
            "times_seen": 6,
            "council_restriction": ""
        },
        {
            "user_query": "species",
            "result_count": 187,
            "times_seen": 6,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 404,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 403,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 160,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 164,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "commute",
            "result_count": 169,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "\"Fields in Trust\"",
            "result_count": 2,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "goal",
            "result_count": 264,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "heat pumps",
            "result_count": 370,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 389,
            "times_seen": 5,
            "council_restriction": ""
        },
        {
            "user_query": "solar",
            "result_count": 313,
            "times_seen": 5,
            "council_restriction": ""
        }
    ]
}