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": 281,
    "next": "http://data.climateemergency.uk/api/searchterms/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "user_query": "2022",
            "result_count": 12,
            "times_seen": 202,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 9,
            "times_seen": 201,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 10,
            "times_seen": 190,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 6,
            "times_seen": 184,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 11,
            "times_seen": 183,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 12,
            "times_seen": 179,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 8,
            "times_seen": 168,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 11,
            "times_seen": 167,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 8,
            "times_seen": 156,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 10,
            "times_seen": 150,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 9,
            "times_seen": 150,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 7,
            "times_seen": 148,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 6,
            "times_seen": 142,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 7,
            "times_seen": 127,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 5,
            "times_seen": 121,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 13,
            "times_seen": 108,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 14,
            "times_seen": 101,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 13,
            "times_seen": 76,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 14,
            "times_seen": 75,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 70,
            "times_seen": 75,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 5,
            "times_seen": 68,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 58,
            "times_seen": 66,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 15,
            "times_seen": 65,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 4,
            "times_seen": 57,
            "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": "\"circular economy\"",
            "result_count": 168,
            "times_seen": 54,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 53,
            "council_restriction": "\"Wiltshire Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 53,
            "council_restriction": "\"Wiltshire Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 51,
            "council_restriction": "\"Medway Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 50,
            "council_restriction": "\"Medway Council\""
        },
        {
            "user_query": "2023",
            "result_count": 3,
            "times_seen": 49,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 4,
            "times_seen": 49,
            "council_restriction": "\"Kent County Council\""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 48,
            "council_restriction": "\"Kent County Council\""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 48,
            "council_restriction": "\"East Lothian Council\""
        },
        {
            "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": 1,
            "times_seen": 46,
            "council_restriction": "\"Leeds City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 46,
            "council_restriction": "\"East Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 16,
            "times_seen": 45,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 45,
            "council_restriction": "\"Leeds City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 44,
            "council_restriction": "\"Newport City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 44,
            "council_restriction": "\"Bristol City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 15,
            "times_seen": 43,
            "council_restriction": ""
        },
        {
            "user_query": "stockport",
            "result_count": 3,
            "times_seen": 43,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 17,
            "times_seen": 41,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 41,
            "council_restriction": "\"Newport City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 4,
            "times_seen": 41,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 66,
            "times_seen": 40,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 38,
            "council_restriction": "\"West Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 36,
            "council_restriction": "\"West Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 36,
            "council_restriction": "\"Stirling Council\""
        },
        {
            "user_query": "divestment",
            "result_count": 62,
            "times_seen": 36,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 35,
            "council_restriction": "\"Stirling Council\""
        },
        {
            "user_query": "action plan monitoring framework climate change",
            "result_count": 408,
            "times_seen": 35,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 469,
            "times_seen": 35,
            "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": "\"electric taxis\"",
            "result_count": 16,
            "times_seen": 32,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 31,
            "council_restriction": "\"Exeter City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 31,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 31,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 17,
            "times_seen": 31,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 18,
            "times_seen": 30,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 30,
            "council_restriction": "\"Exeter City Council\""
        },
        {
            "user_query": "\"electric taxis\"",
            "result_count": 17,
            "times_seen": 30,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 16,
            "times_seen": 29,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 27,
            "council_restriction": "\"Glasgow City Council\""
        },
        {
            "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": "\"Glasgow City 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": "2023",
            "result_count": 1,
            "times_seen": 24,
            "council_restriction": "\"Harlow Council\""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 24,
            "council_restriction": "\"Cardiff Council\""
        },
        {
            "user_query": "2023",
            "result_count": 264,
            "times_seen": 24,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 23,
            "council_restriction": "\"Harlow Council\""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 64,
            "times_seen": 23,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 22,
            "council_restriction": "\"Cardiff Council\""
        },
        {
            "user_query": "2022",
            "result_count": 298,
            "times_seen": 22,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 22,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 21,
            "council_restriction": "\"Durham County Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 21,
            "council_restriction": "\"Fife 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": "2022",
            "result_count": 1,
            "times_seen": 20,
            "council_restriction": "\"Fife Council\""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 20,
            "council_restriction": "\"Borough of Broxbourne\""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 472,
            "times_seen": 20,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 19,
            "council_restriction": ""
        },
        {
            "user_query": "action plans",
            "result_count": 486,
            "times_seen": 19,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 60,
            "times_seen": 19,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 18,
            "council_restriction": "\"Angus Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 18,
            "council_restriction": "\"Durham County Council\""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 18,
            "council_restriction": "\"The Moray Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 18,
            "council_restriction": "\"Midlothian Council\""
        },
        {
            "user_query": "2023",
            "result_count": 3,
            "times_seen": 18,
            "council_restriction": "\"Borough of Broxbourne\""
        },
        {
            "user_query": "2023",
            "result_count": 3,
            "times_seen": 18,
            "council_restriction": "\"The Moray Council\""
        }
    ]
}