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

    "id": 18283,
    "username": "steve.miller_43",
    "first_name": "Steve",
    "last_name": "Miller",
    "url": "https://api.represent.me/api/users/18283/",
    "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_ad6f1c31b95d48d8b98e8c31f1841347.png",
    "age": 48,
    "latest_compare": [],
    "follow": [],
    "locations": [
    "bio": "",
    "created_at": "2017-06-02T20:33:01.933918Z",
    "modified_at": "2019-04-15T15:54:59.112923Z",
    "is_deleted": false,
    "country": 59,
    "country_info": {
        "id": 59,
        "ID": "GBR",
        "name": "United Kingdom",
        "m_type": "country",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 9093,
        "question_count": 923,
        "created_at": "2016-03-20T04:26:45.483907Z",
        "type_description": null,
        "parent": null,
        "parent_url": null,
        "politicians": [],
        "modified_at": "2019-10-01T16:01:15.905104Z"
    "region": 45690,
    "region_info": {
        "id": 45690,
        "ID": "GBR_REGION_ENG",
        "name": "England",
        "m_type": "region",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 7875,
        "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-10-01T16:01:15.883160Z"
    "last_answer_time": "2017-06-05T19:40:57.238780Z",
    "politician": 1452,
    "politician_info": {
        "id": 1452,
        "ID": null,
        "name": "Steve Miller",
        "sort_name": "",
        "email": "steve.miller@greenparty.org.uk",
        "twitter": "@serial_miller",
        "facebook": "",
        "group": "Green",
        "group_id": "",
        "area_id": "45371",
        "area": "Northampton North",
        "chamber": "",
        "term": "",
        "start_date": "2017",
        "end_date": null,
        "image": null,
        "gender": "",
        "country": "59",
        "type": "candidate",
        "linkedin": null,
        "facebook_page": "https://www.facebook.com/votestevemiller",
        "fundraising_page": "http://www.northants.greenparty.org.uk/",
        "cv": null,
        "statement": "I was born in Northampton 47 years ago, and apart from 4 years around the turn of the century, I have lived in the town for all of my life. I've spent many hours watching the Cricket Club, and the Cobblers, and watching bands at the Roadmender. I love this town.\n\nI joined the Green Party in 2010, having previously been a member of the Labour Party. I no longer felt a connection to that party, mainly driven by the support of that party and our local MP for the war in Iraq.\n\nThe Green Party has a consistent set of values at the heart of everything that we say or do, and we recognise that taking care of ourselves and taking care of the environment are the most important things that we can do.\n\nI feel that Northampton has lost its identity over the past 20 years. We've had a succession of councils who seem to think that the town centre will thrive if they knock all trace of originality out of it, and we've had MPs in Northampton North who do as they are told, rarely speaking up for the people and the town that they represent.\n\nIf you really want a change, instead of voting for the Conservative candidate who has been your MP for the past 7 years, or the Labour candidate who was your MP for the 13 years before that, your only choice is to vote for your Green Party candidate.\n\nI guarantee that as a Green MP, I would stand up for Northampton in Westminster and I would demand the best for our town.\n\nThese are my campaign priorities for Northampton.\n\n- The new bus station is not fit for purpose, and it's clogging up the town centre. Northampton needs a new integrated transport policy, which should include better bus lanes, better cycle lanes. park & ride and a new bus station.\n\n- The air quality in the town centre and in Kingsthorpe is terrible. The new integrated transport policy has to feed into the Air Quality strategy so that as well as helping to get Northampton moving again, we are able to get Northampton breathing again as well.\n\n- There needs to be a full independent inquiry into the Sixfields Stadium expansion. The report from the auditors showed that taxpayers money was mislaid with extraordinary lack of scrutiny. We need to shine a light on the scandal. \n\n- Northampton should be a leader in Community Energy. Rather than supporting developers who want to build massive power generators in the town centre, we should be working to encourage the takeup of solar energy and helping to set up small community energy companies.\n\n- Northampton needs more school places, but it doesn't need free schools. Let's get more school places i the areas that we need them, and let's get the council setting up new schools again.\n\nAs I said - I am the genuine change candidate in this election. if you want to move away from the Conservative/Labour duopoly that has represented Northampton North for the past 20 years, vote Green on June 8th.\n\nSteve Miller \nJune 2017"
    "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": 126,
    "count_question_votes": 109,
    "count_friends": 0,
    "count_comment_votes": 0,
    "count_choice_votes": 17,
    "count_group_memberships": 1,
    "count_following_tags": 3,
    "count_comments": 0,
    "count_following_users": 1,
    "count_followers": 2,
    "karma": 0