Skip to content

Instantly share code, notes, and snippets.

@darrenclark
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darrenclark/5631e5f0cb09765e625a to your computer and use it in GitHub Desktop.
Save darrenclark/5631e5f0cb09765e625a to your computer and use it in GitHub Desktop.
Tinder API info

Overview

Miscellanious information discovered from sniffing Tinder's API traffic.

See also: https://gist.github.com/rtt/10403467, has a lot of valuable information & is much better formatted

URL

Requests are made to api.gotinder.com

Request Headers

Sample headers taken from a recent version running on an iPhone:

Host:              api.gotinder.com
Accept:            */*
app-version:       288
x-client-version:  4453
Proxy-Connection:  keep-alive
Accept-Encoding:   gzip, deflate
If-None-Match:     "1499974363"
platform:          ios
Accept-Language:   en;q=1
Content-Length:    277
User-Agent:        Tinder/4453 (iPhone; iOS 8.4; Scale/2.00)
Connection:        keep-alive
Content-Type:      application/json; charset=utf-8
os_version:        800004
Authorization:     Token token="00000000-0000-0000-0000-000000000000"
X-Auth-Token:      00000000-0000-0000-0000-000000000000

(see POST /auth to get a valid auth token)

API Calls

POST /auth

Gets an auth token for use with other API calls

Request Body

{
	"facebook_id" : "YOUR_FACEBOOK_ID",
	"facebook_token" : "YOUR_FACEBOOK_AUTH_TOKEN",
	"locale" : "en"
}

Response Body

{
	"token" : /* auth token to use for other calls */,
	"globals" : { /* misc fields */ },
	"user" : { /* info about current user */ }
}

GET /user/recs?locale=en

Gets recommendations for the user

Response Body

{
	"results" : [
		{
			"_id" : "USERS_ID",
            "bio": "USERS BIO MESSAGE", 
            "birth_date": "0000-00-00T00:00:00.000Z", 
            "birth_date_info": "?????", 
            "common_connections": [], 
            "common_interests": [], 
            "connection_count": 0, 
            "distance_mi": 10, 
            "gender": 1, /*   0=male, 1=female  ???  */
            "name": "USERS NAME", 
		}
	]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment