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

    "id": 7480,
    "username": "DonaldTrumpPolicies",
    "first_name": "Donald",
    "last_name": "Trump",
    "url": "https://api.represent.me/api/users/7480/",
    "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/f9186753-4ba9-4838-b46b-c97326191e55.png",
    "age": 73,
    "latest_compare": [],
    "follow": [],
    "locations": [
    "bio": "I'm not on Represent yet, but my policies are. If you'd like me to be on here so that I can engage with the American people (and the world) on the issues which are important to you, please tweet me @realDonaldTrump",
    "created_at": "2016-11-12T22:22:37Z",
    "modified_at": "2019-04-15T15:52:44.137214Z",
    "is_deleted": false,
    "country": 170,
    "country_info": {
        "id": 170,
        "ID": "USA",
        "name": "United States of America",
        "m_type": "country",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 280,
        "question_count": 43,
        "created_at": "2016-03-20T04:26:45.750462Z",
        "type_description": null,
        "parent": null,
        "parent_url": null,
        "politicians": [],
        "modified_at": "2020-02-11T17:19:57.896135Z"
    "region": 21531,
    "region_info": {
        "id": 21531,
        "ID": "S11",
        "name": "District of Columbia",
        "m_type": "region",
        "location": {
            "type": "Point",
            "coordinates": [
        "members_count": 6,
        "question_count": 0,
        "created_at": "2017-02-08T12:17:30.465335Z",
        "type_description": "State",
        "parent": 170,
        "parent_url": "https://api.represent.me/api/simple_geos/170/",
        "politicians": [],
        "modified_at": "2017-05-04T10:53:17.432163Z"
    "last_answer_time": "2017-01-20T20:18:06.238616Z",
    "politician": null,
    "politician_info": null,
    "is_email_verified": true,
    "is_admin_verified": true,
    "is_facebook_verified": false,
    "is_google_verified": false,
    "is_twitter_verified": false,
    "is_linkedin_verified": false,
    "is_stripe_verified": false,
    "verification_count": 0,
    "verification_score": 100,
    "count_questions": 58,
    "count_votes": 81,
    "count_question_votes": 73,
    "count_friends": 0,
    "count_comment_votes": 0,
    "count_choice_votes": 8,
    "count_group_memberships": 2,
    "count_following_tags": 1,
    "count_comments": 1,
    "count_following_users": 1,
    "count_followers": 2,
    "karma": 0