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/6251/
Content-Type: application/json
Vary: Accept

    "id": 6251,
    "username": "AimeeChallenor",
    "first_name": "Aimee",
    "last_name": "Challenor",
    "url": "https://api.represent.me/api/users/6251/",
    "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/be866e0a-da30-4e21-8de2-3d99614d0758.png",
    "age": 22,
    "latest_compare": [],
    "follow": [],
    "locations": [
    "bio": "",
    "created_at": "2016-07-15T10:18:45.812469Z",
    "modified_at": "2019-04-15T15:53:40.135965Z",
    "is_deleted": false,
    "country": 59,
    "country_info": {
        "id": 59,
        "ID": "GBR",
        "name": "United Kingdom",
        "m_type": "country",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 9106,
        "question_count": 923,
        "created_at": "2016-03-20T04:26:45.483907Z",
        "type_description": null,
        "parent": null,
        "parent_url": null,
        "politicians": [],
        "modified_at": "2019-11-16T00:09:02.085627Z"
    "region": 45690,
    "region_info": {
        "id": 45690,
        "ID": "GBR_REGION_ENG",
        "name": "England",
        "m_type": "region",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 7888,
        "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/",
        "politicians": [],
        "modified_at": "2019-11-16T00:09:02.062858Z"
    "last_answer_time": "2017-07-29T17:00:43.022436Z",
    "politician": 1449,
    "politician_info": {
        "id": 1449,
        "ID": null,
        "name": "Aimee Challenor",
        "sort_name": "",
        "email": "aldc@challenor.org.uk",
        "twitter": "@GPEWAimee",
        "facebook": "",
        "group": "Green",
        "group_id": "",
        "area_id": "45161",
        "area": "Coventry South",
        "chamber": "",
        "term": "",
        "start_date": "2017",
        "end_date": null,
        "image": null,
        "gender": "",
        "country": "59",
        "type": "candidate",
        "linkedin": null,
        "facebook_page": "https://www.facebook.com/aimeechallenor",
        "fundraising_page": "http://aimee2017.uk",
        "cv": null,
        "statement": "I’m standing to represent Coventry South in Westminster as I believe it’s time politics was different. It’s time politicians listened to us. We need MPs in Parliament who will put the public first, and give everyone a fair share.\n\nI'm standing up for a society that is capable of supporting everyone’s needs and gives everyone a fair share. I'm standing up for a politics of change, that listens to people who live in Coventry South and cares.\n\nOn June 8th, vote for what you believe in, vote for change, vote Green, for a politics that works for the common good."
    "is_email_verified": false,
    "is_admin_verified": false,
    "is_facebook_verified": true,
    "is_google_verified": false,
    "is_twitter_verified": false,
    "is_linkedin_verified": false,
    "is_stripe_verified": false,
    "verification_count": 1,
    "verification_score": 70,
    "count_questions": 0,
    "count_votes": 257,
    "count_question_votes": 235,
    "count_friends": 11,
    "count_comment_votes": 0,
    "count_choice_votes": 22,
    "count_group_memberships": 3,
    "count_following_tags": 1,
    "count_comments": 0,
    "count_following_users": 2,
    "count_followers": 2,
    "karma": 0