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/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 252,
    "next": "http://data.climateemergency.uk/api/searchterms/?page=2",
    "previous": null,
    "results": [
        {
            "user_query": "2022",
            "result_count": 12,
            "times_seen": 165,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 9,
            "times_seen": 162,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 10,
            "times_seen": 158,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 6,
            "times_seen": 147,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 11,
            "times_seen": 146,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 12,
            "times_seen": 143,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 8,
            "times_seen": 136,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 8,
            "times_seen": 133,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 11,
            "times_seen": 131,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 7,
            "times_seen": 124,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 10,
            "times_seen": 122,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 6,
            "times_seen": 120,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 9,
            "times_seen": 115,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 7,
            "times_seen": 100,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 5,
            "times_seen": 100,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 13,
            "times_seen": 81,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 14,
            "times_seen": 74,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 58,
            "times_seen": 66,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 14,
            "times_seen": 59,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 58,
            "times_seen": 57,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 390,
            "times_seen": 57,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 13,
            "times_seen": 56,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 5,
            "times_seen": 55,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 168,
            "times_seen": 54,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 15,
            "times_seen": 53,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 407,
            "times_seen": 48,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 60,
            "times_seen": 47,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 4,
            "times_seen": 44,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 70,
            "times_seen": 44,
            "council_restriction": ""
        },
        {
            "user_query": "stockport",
            "result_count": 3,
            "times_seen": 43,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 3,
            "times_seen": 39,
            "council_restriction": ""
        },
        {
            "user_query": "divestment",
            "result_count": 62,
            "times_seen": 36,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 408,
            "times_seen": 35,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 16,
            "times_seen": 34,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 17,
            "times_seen": 34,
            "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": "parks and green spaces",
            "result_count": 469,
            "times_seen": 34,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 4,
            "times_seen": 32,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 15,
            "times_seen": 32,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 153,
            "times_seen": 32,
            "council_restriction": ""
        },
        {
            "user_query": "\"electric taxis\"",
            "result_count": 16,
            "times_seen": 32,
            "council_restriction": ""
        },
        {
            "user_query": "\"electric taxis\"",
            "result_count": 17,
            "times_seen": 30,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 17,
            "times_seen": 28,
            "council_restriction": ""
        },
        {
            "user_query": "\"Fi\"",
            "result_count": 9,
            "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": "parks and green spaces",
            "result_count": 468,
            "times_seen": 26,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 25,
            "council_restriction": "\"Medway Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 25,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 25,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 25,
            "council_restriction": "\"Medway Council\""
        },
        {
            "user_query": "\"Fields in Trust\"",
            "result_count": 3,
            "times_seen": 25,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 57,
            "times_seen": 25,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 66,
            "times_seen": 25,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 24,
            "council_restriction": "\"East Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 23,
            "council_restriction": "\"Newport City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 18,
            "times_seen": 23,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 264,
            "times_seen": 23,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 64,
            "times_seen": 23,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 22,
            "council_restriction": "\"Wiltshire Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 22,
            "council_restriction": "\"East Lothian Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 22,
            "council_restriction": "\"Newport City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 16,
            "times_seen": 22,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 298,
            "times_seen": 21,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 21,
            "council_restriction": "\"Wiltshire Council\""
        },
        {
            "user_query": "action plans",
            "result_count": 485,
            "times_seen": 21,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 215,
            "times_seen": 21,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 60,
            "times_seen": 19,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 18,
            "council_restriction": "\"Harlow Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 18,
            "council_restriction": "\"West Lothian Council\""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 18,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 486,
            "times_seen": 18,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 172,
            "times_seen": 18,
            "council_restriction": ""
        },
        {
            "user_query": "increasing biodiversity",
            "result_count": 392,
            "times_seen": 18,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 17,
            "council_restriction": "\"West Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 17,
            "council_restriction": "\"Harlow Council\""
        },
        {
            "user_query": "2023",
            "result_count": 4,
            "times_seen": 17,
            "council_restriction": "\"Kent County Council\""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 177,
            "times_seen": 17,
            "council_restriction": ""
        },
        {
            "user_query": "\"Fi\"",
            "result_count": 10,
            "times_seen": 17,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 16,
            "council_restriction": "\"Leeds City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 16,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 16,
            "council_restriction": "\"Kent County Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 16,
            "council_restriction": "\"Leeds City Council\""
        },
        {
            "user_query": "action plans",
            "result_count": 425,
            "times_seen": 16,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 52,
            "times_seen": 16,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 409,
            "times_seen": 16,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 149,
            "times_seen": 15,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 211,
            "times_seen": 15,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 65,
            "times_seen": 15,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 14,
            "council_restriction": "\"Cardiff Council\""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 426,
            "times_seen": 14,
            "council_restriction": ""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 487,
            "times_seen": 14,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 383,
            "times_seen": 14,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 399,
            "times_seen": 14,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 13,
            "council_restriction": "\"Glasgow City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 13,
            "council_restriction": "\"Cardiff Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 13,
            "council_restriction": "\"Bristol City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 13,
            "council_restriction": "\"Glasgow City Council\""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 417,
            "times_seen": 13,
            "council_restriction": ""
        }
    ]
}