API endpoint that allows users to be viewed.

Genders are `{0:'unknown', 1:'male', 2:'female'}

eg http://localhost:8000/api/users/?count_questions__gte=5 to get only users who have asked at least 5 questions

people following me: http://localhost:8000/api/users/?following_users__following=1

people I follow: http://localhost:8000/api/users/?follower_users__user=1

or shorthand for the same:

people following 1: http://localhost:8000/api/users/?is_following=1

people 1 follows: http://localhost:8000/api/users/?is_followed_by=1

Custom Compare filtering & sorting:

we can filter for users who have previously been compared, with a minimum overlap, a pick a sorting method based on their cached compare

http://localhost:8000/api/users/?compare_check={{ userid }},{{ minimum_overlap }},{{ sorting_method }}

eg: http://localhost:8000/api/users/?page=1&page_size=15&compare_check=1,20,compares__difference_percent


check out /demographics to see demographic information about a query

eg http://localhost:8000/api/users/demographics/?count_questions__gte=5 to get demographic information on the first example

you may also set a start date, and number of steps on a demographic query


check out /geographics to see demographic information about a query

eg http://localhost:8000/api/users/geographics/?count_questions__gte=5 to get geographics information on the first example

GET /api/users/18253/
Content-Type: application/json
Vary: Accept

    "id": 18253,
    "username": "HackneyHugo",
    "first_name": "Hugo",
    "last_name": "Sugg",
    "url": "https://api.represent.me/api/users/18253/",
    "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/a57fbe57-0574-44f7-9181-fbf8a1c23e50.png",
    "age": 29,
    "latest_compare": [],
    "follow": [],
    "locations": [
    "bio": "Independent, Left-centre candidate in the General Election 2017 for Hackney South and Shoreditch. Full Manifesto available on my website.",
    "created_at": "2017-06-02T18:19:25.793262Z",
    "modified_at": "2019-04-15T15:52:13.259774Z",
    "is_deleted": false,
    "country": 59,
    "country_info": {
        "id": 59,
        "ID": "GBR",
        "name": "United Kingdom",
        "m_type": "country",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 9104,
        "question_count": 923,
        "created_at": "2016-03-20T04:26:45.483907Z",
        "type_description": null,
        "parent": null,
        "parent_url": null,
        "politicians": [],
        "modified_at": "2019-11-13T14:25:05.807095Z"
    "region": 45690,
    "region_info": {
        "id": 45690,
        "ID": "GBR_REGION_ENG",
        "name": "England",
        "m_type": "region",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 7886,
        "question_count": 13,
        "created_at": "2017-03-17T16:31:15.805339Z",
        "type_description": "Constituent Country",
        "parent": 59,
        "parent_url": "https://api.represent.me/api/simple_geos/59/?format=api",
        "politicians": [],
        "modified_at": "2019-11-13T14:25:05.748012Z"
    "last_answer_time": "2017-06-02T18:43:47.202576Z",
    "politician": 1448,
    "politician_info": {
        "id": 1448,
        "ID": null,
        "name": "Hugo Sugg",
        "sort_name": "",
        "email": "hackneycommunitiestogether@gmail.com",
        "twitter": "@HackneyTogether",
        "facebook": "",
        "group": "Independent",
        "group_id": "",
        "area_id": "45231",
        "area": "Hackney South and Shoreditch",
        "chamber": "",
        "term": "",
        "start_date": "2017",
        "end_date": null,
        "image": null,
        "gender": "",
        "country": "59",
        "type": "candidate",
        "linkedin": null,
        "facebook_page": "https://www.facebook.com/HackneyTogether/",
        "fundraising_page": "https://www.hackneytogether.wordpress.com",
        "cv": null,
        "statement": "Hugo's campaign is called “Communities Together”: Regardless of age, background, religion or gender: A progressive plan for Hackney South and Shoreditch.”\n\nAbout Hugo: He has background in homeless campaigning and was also one of the Founding Members of the national Youth Homeless Parliament. Stemming from his Youth and Community Degree key, Hugo developed a deep interest in politics and community cohesion which he feels will benefit him in the role of MP.\n\nAnnouncing his candidacy intention Hugo said:\n\n“In the face of Leaving the European Union, I believe it is now more important to strengthen our community, in the aim that no-one gets forgotten in this process.\n\nMy values have people at its heart, their families and local businesses. \nMy Manifesto is fighting for Minimum Living Wage, challenging housing deprivation, homelessness, media hate towards religion, rising knife crime, challenging Child Poverty, youth work, gender equality and the NHS.\nHackney South has suffered seven years in Austerity and I do not want to make it five years more.”"
    "is_email_verified": true,
    "is_admin_verified": false,
    "is_facebook_verified": false,
    "is_google_verified": false,
    "is_twitter_verified": false,
    "is_linkedin_verified": false,
    "is_stripe_verified": false,
    "verification_count": 1,
    "verification_score": 59,
    "count_questions": 0,
    "count_votes": 122,
    "count_question_votes": 105,
    "count_friends": 0,
    "count_comment_votes": 0,
    "count_choice_votes": 17,
    "count_group_memberships": 1,
    "count_following_tags": 1,
    "count_comments": 0,
    "count_following_users": 1,
    "count_followers": 2,
    "karma": 0