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": 376,
    "next": "http://data.climateemergency.uk/api/searchterms/?page=2",
    "previous": null,
    "results": [
        {
            "user_query": "\"circular economy\"",
            "result_count": 234,
            "times_seen": 4306,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 8,
            "times_seen": 261,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 10,
            "times_seen": 259,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 11,
            "times_seen": 229,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 9,
            "times_seen": 226,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 8,
            "times_seen": 225,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 9,
            "times_seen": 225,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 12,
            "times_seen": 224,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 12,
            "times_seen": 222,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 10,
            "times_seen": 219,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 6,
            "times_seen": 216,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 205,
            "council_restriction": "\"Harlow Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 196,
            "council_restriction": "\"Bristol City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 194,
            "council_restriction": "\"Newport City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 191,
            "council_restriction": "\"Newport City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 186,
            "council_restriction": "\"Stirling Council\""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 186,
            "council_restriction": "\"Stirling Council\""
        },
        {
            "user_query": "2022",
            "result_count": 11,
            "times_seen": 174,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 172,
            "council_restriction": "\"Angus Council\""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 172,
            "council_restriction": "\"East Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 170,
            "council_restriction": "\"Leeds City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 13,
            "times_seen": 168,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 166,
            "council_restriction": "\"Leeds City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 165,
            "council_restriction": "\"East Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 14,
            "times_seen": 164,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 5,
            "times_seen": 162,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 160,
            "council_restriction": "\"Norwich City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 160,
            "council_restriction": "\"Norwich City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 7,
            "times_seen": 158,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 156,
            "council_restriction": "\"Midlothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 155,
            "council_restriction": "\"Midlothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 153,
            "council_restriction": "\"Dundee City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 152,
            "council_restriction": "\"Eden District Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 151,
            "council_restriction": "\"Glasgow City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 7,
            "times_seen": 151,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 150,
            "council_restriction": "\"Adur District Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 150,
            "council_restriction": "\"Glasgow City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 150,
            "council_restriction": "\"Adur District Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 149,
            "council_restriction": "\"Eden District Council\""
        },
        {
            "user_query": "2022",
            "result_count": 6,
            "times_seen": 143,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 143,
            "council_restriction": "\"Durham County Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 141,
            "council_restriction": "\"Durham County Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 141,
            "council_restriction": "\"Fife Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 140,
            "council_restriction": "\"Fife Council\""
        },
        {
            "user_query": "2022",
            "result_count": 15,
            "times_seen": 140,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 2,
            "times_seen": 139,
            "council_restriction": "\"Harlow Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 121,
            "council_restriction": "\"East Ayrshire Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 120,
            "council_restriction": "\"East Ayrshire Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 118,
            "council_restriction": "\"Devon County Council\""
        },
        {
            "user_query": "2023",
            "result_count": 16,
            "times_seen": 111,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 13,
            "times_seen": 110,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 97,
            "council_restriction": "\"Orkney Islands Council\""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 87,
            "times_seen": 97,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 72,
            "times_seen": 94,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 15,
            "times_seen": 91,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 89,
            "council_restriction": "\"Northumberland Council\""
        },
        {
            "user_query": "1",
            "result_count": 480,
            "times_seen": 88,
            "council_restriction": ""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 475,
            "times_seen": 85,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 83,
            "council_restriction": "\"Wiltshire Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 83,
            "council_restriction": "\"Wiltshire Council\""
        },
        {
            "user_query": "2023",
            "result_count": 4,
            "times_seen": 82,
            "council_restriction": "\"Kent County Council\""
        },
        {
            "user_query": "2023",
            "result_count": 14,
            "times_seen": 82,
            "council_restriction": ""
        },
        {
            "user_query": "\"green homes grant\"",
            "result_count": 70,
            "times_seen": 75,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 17,
            "times_seen": 74,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 270,
            "times_seen": 73,
            "council_restriction": ""
        },
        {
            "user_query": "\"circular economy\"",
            "result_count": 219,
            "times_seen": 70,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 69,
            "council_restriction": "\"Kent County Council\""
        },
        {
            "user_query": "2022",
            "result_count": 5,
            "times_seen": 69,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 69,
            "council_restriction": "\"West Lothian Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 68,
            "council_restriction": "\"West Lothian Council\""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 58,
            "times_seen": 66,
            "council_restriction": ""
        },
        {
            "user_query": "\"ground source heat pumps\"",
            "result_count": 81,
            "times_seen": 66,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 65,
            "council_restriction": "\"Medway Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 64,
            "council_restriction": "\"Medway Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 64,
            "council_restriction": "\"Blackpool Borough Council\""
        },
        {
            "user_query": "2023",
            "result_count": 3,
            "times_seen": 62,
            "council_restriction": "\"Cambridge City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 61,
            "council_restriction": "\"Cambridge City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 5,
            "times_seen": 60,
            "council_restriction": "\"City of Edinburgh Council\""
        },
        {
            "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": "\"Leicester City Council\""
        },
        {
            "user_query": "2023",
            "result_count": 2,
            "times_seen": 52,
            "council_restriction": "\"London Borough of Lambeth\""
        },
        {
            "user_query": "2023",
            "result_count": 3,
            "times_seen": 52,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 5,
            "times_seen": 52,
            "council_restriction": "\"City of Edinburgh Council\""
        },
        {
            "user_query": "2023",
            "result_count": 288,
            "times_seen": 48,
            "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": 336,
            "times_seen": 46,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 45,
            "council_restriction": "\"Exeter City Council\""
        },
        {
            "user_query": "2022",
            "result_count": 3,
            "times_seen": 45,
            "council_restriction": "\"The Moray Council\""
        },
        {
            "user_query": "2022",
            "result_count": 16,
            "times_seen": 45,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 3,
            "times_seen": 45,
            "council_restriction": "\"The Moray Council\""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 44,
            "council_restriction": "\"Northumberland Council\""
        },
        {
            "user_query": "2023",
            "result_count": 1,
            "times_seen": 43,
            "council_restriction": "\"Exeter City Council\""
        },
        {
            "user_query": "parks and green spaces",
            "result_count": 581,
            "times_seen": 43,
            "council_restriction": ""
        },
        {
            "user_query": "stockport",
            "result_count": 3,
            "times_seen": 43,
            "council_restriction": ""
        },
        {
            "user_query": "2023",
            "result_count": 18,
            "times_seen": 42,
            "council_restriction": ""
        },
        {
            "user_query": "2022",
            "result_count": 1,
            "times_seen": 41,
            "council_restriction": "\"South Ayrshire Council\""
        }
    ]
}