I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)
Note: this was written in April/May 2014 and the API may have changed since
Host | api.gotinder.com |
Protocol | SSL only |
Request headers
Header name | Description / example | Required? |
---|---|---|
X-Auth-Token | A UUID4 format authentication token obtained via the /auth api endpoint | Yes |
Content-type | application/json | Yes |
app_version | 3 | no |
platform | ios | no |
User-agent | User-Agent: Tinder/3.0.4 (iPhone; iOS 7.1; Scale/2.00) | Yes |
os_version | 700001 | No |
Note: all curl examples below omit headers for brevity -- you'll need to add the required headers shown in the table above
https://api.gotinder.com/purchase/sku
"id": "14158343106",
"created_time": "2014-03-06T01:19:15+0000"
}, {
"name": "Mashable - Social Media",
"category": "News/Media Website",
"id": "500945955060",
"created_time": "2014-03-06T01:17:24+0000"
}, {
"name": "WIRED",
"category": "Media/News/Publishing",
"id": "19440638720",
"created_time": "2014-03-06T01:17:18+0000"
}, {
"name": "Mashable",
"category": "Media/News/Publishing",
"id": "18807449704",
"created_time": "2014-03-06T01:17:18+0000"
}, {
"name": "The Daily Beast",
"category": "News/Media Website",
"id": "37763684202",
"created_time": "2014-03-06T01:17:05+0000"
}, {
"name": "TechCrunch",
"category": "News/Media Website",
"id": "8062627951",
"created_time": "2014-03-06T01:17:02+0000"
}, {
"name": "TEDx",
"category": "News/Media Website",
"id": "146191835553",
"created_time": "2014-03-06T01:16:54+0000"
}, {
"name": "Social Media Today",
"category": "News/Media Website",
"id": "18797601233",
"created_time": "2014-03-06T01:16:52+0000"
}, {
"name": "The Next Web",
"category": "Media/News/Publishing",
"category_list": [{
"id": "191684877517919",
"name": "Publisher"
}],
"id": "106976563522",
"created_time": "2014-03-06T01:16:42+0000"
}, {
"name": "Yahoo",
"category": "Media/News/Publishing",
"category_list": [{
"id": "2233",
"name": "Media/News/Publishing"
}],
"id": "7040724713",
"created_time": "2014-03-06T01:13:29+0000"
}, {
"name": "AOL",
"category": "Media/News/Publishing",
"category_list": [{
"id": "133436743388217",
"name": "Arts & Entertainment"
}],
"id": "107651419258212",
"created_time": "2014-03-06T01:12:26+0000"
}, {
"name": "Discovery",
"category": "TV Network",
"id": "6002238585",
"created_time": "2014-03-06T01:11:53+0000"
}, {
"name": "BBC News",
"category": "Media/News/Publishing",
"id": "228735667216",
"created_time": "2014-03-06T01:10:38+0000"
}, {
"name": "University of Science and Technology of China",
"category": "University",
"id": "108060535881886",
"created_time": "2014-03-05T07:56:31+0000"
}, {
"name": "Shanghai, China",
"category": "City",
"category_list": [{
"id": "224455390913969",
"name": "City"
}],
"id": "106324046073002",
"created_time": "2014-03-05T07:24:07+0000"
}],
"distance_filter": 81,
"full_name": "Xiangfa Lieu",
"gender": 0,
"gender_filter": 1,
"name": "Xiangfa",
"photos": [{
"id": "cb571b82-720a-4300-8e14-ebbcf9fcb601",
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg",
"main": "main",
"fileName": "cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg",
"fbId": "1380067595600331",
"extension": "jpg",
"processedFiles": [{
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/640x640_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg",
"height": 640,
"width": 640
}, {
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/320x320_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg",
"height": 320,
"width": 320
}, {
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/172x172_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg",
"height": 172,
"width": 172
}, {
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/84x84_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg",
"height": 84,
"width": 84
}]
}],
"ping_time": "2015-08-29T17:18:05.025Z",
"instagram_disconnected": null,
"instagram": {
"username": "famousopicweber",
"profile_picture": "https://igcdn-photos-h-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-19/11376558_1599931923582023_1723949288_a.jpg",
"media_count": 414,
"last_fetch_time": "2015-07-29T10:42:26.920Z",
"completed_initial_fetch": true,
"photos": [{
"link": "https://instagram.com/p/5t5O6JC0eo/",
"ts": "1438166545",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11352352_870541553039254_1986204055_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11352352_870541553039254_1986204055_n.jpg"
}, {
"link": "https://instagram.com/p/5t5NlZi0em/",
"ts": "1438166534",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11821183_1605443289717752_1462577270_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11821183_1605443289717752_1462577270_n.jpg"
}, {
"link": "https://instagram.com/p/5t5MI7i0eh/",
"ts": "1438166522",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11324485_136290503374796_1521102376_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11324485_136290503374796_1521102376_n.jpg"
}, {
"link": "https://instagram.com/p/5t5K6KC0eg/",
"ts": "1438166512",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11311236_1600530520196560_1913060608_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11311236_1600530520196560_1913060608_n.jpg"
}, {
"link": "https://instagram.com/p/5t5JnGC0ed/",
"ts": "1438166502",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11374651_1866091500282600_666260953_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11374651_1866091500282600_666260953_n.jpg"
}, {
"link": "https://instagram.com/p/5t5IF4i0ea/",
"ts": "1438166489",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11248915_378010325729293_51391498_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11248915_378010325729293_51391498_n.jpg"
}, {
"link": "https://instagram.com/p/5t5Gxti0eV/",
"ts": "1438166479",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e15/11374580_1472883173007848_574765472_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/11374580_1472883173007848_574765472_n.jpg"
}, {
"link": "https://instagram.com/p/5t5Fkxi0eT/",
"ts": "1438166469",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e15/11202442_487799598056250_1101424433_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/11202442_487799598056250_1101424433_n.jpg"
}, {
"link": "https://instagram.com/p/5t5EeiC0eR/",
"ts": "1438166460",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11374167_714580688648499_1430497609_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11374167_714580688648499_1430497609_n.jpg"
}, {
"link": "https://instagram.com/p/5t5CO0C0eN/",
"ts": "1438166441",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/s150x150/e15/1688273_1465233827106902_1184055815_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/e15/1688273_1465233827106902_1184055815_n.jpg"
}, {
"link": "https://instagram.com/p/5t5BNIC0eJ/",
"ts": "1438166433",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11810004_481922091971548_1651248985_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11810004_481922091971548_1651248985_n.jpg"
}, {
"link": "https://instagram.com/p/5t2KIgi0an/",
"ts": "1438164933",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e15/11356709_892216514181919_87818104_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/11356709_892216514181919_87818104_n.jpg"
}, {
"link": "https://instagram.com/p/5t1Qj_i0Zm/",
"ts": "1438164462",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11377858_993689240651817_2101589833_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11377858_993689240651817_2101589833_n.jpg"
}, {
"link": "https://instagram.com/p/5t1O75i0Zf/",
"ts": "1438164448",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e15/11326061_1614876545455104_6670242_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/11326061_1614876545455104_6670242_n.jpg"
}, {
"link": "https://instagram.com/p/5t1N2iC0Zd/",
"ts": "1438164439",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/s150x150/e15/10569932_858393210922396_764031400_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/e15/10569932_858393210922396_764031400_n.jpg"
}, {
"link": "https://instagram.com/p/5t1MSqC0Za/",
"ts": "1438164427",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e15/11355929_125702411104450_40986231_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/11355929_125702411104450_40986231_n.jpg"
}, {
"link": "https://instagram.com/p/5t1K1EC0ZZ/",
"ts": "1438164415",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11351883_1653746081536242_396424335_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11351883_1653746081536242_396424335_n.jpg"
}, {
"link": "https://instagram.com/p/5t1I4PC0ZT/",
"ts": "1438164399",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e15/11324516_1445368752456437_1509967050_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/11324516_1445368752456437_1509967050_n.jpg"
}, {
"link": "https://instagram.com/p/5t1IA7C0ZR/",
"ts": "1438164392",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11427469_775352875918787_994754611_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11427469_775352875918787_994754611_n.jpg"
}, {
"link": "https://instagram.com/p/5tallCi0a-/",
"ts": "1438150478",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11820706_478399712334057_618482500_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11820706_478399712334057_618482500_n.jpg"
}, {
"link": "https://instagram.com/p/5takI9C0a8/",
"ts": "1438150466",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11335059_107017482980446_423638146_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11335059_107017482980446_423638146_n.jpg"
}, {
"link": "https://instagram.com/p/5tahsji0a6/",
"ts": "1438150446",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11348340_1623689724574996_1525876180_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11348340_1623689724574996_1525876180_n.jpg"
}, {
"link": "https://instagram.com/p/5tafRki0a1/",
"ts": "1438150426",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11380078_389486094578948_1332709147_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11380078_389486094578948_1332709147_n.jpg"
}, {
"link": "https://instagram.com/p/5tacqUC0ax/",
"ts": "1438150405",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11375251_422846301259308_845411808_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11375251_422846301259308_845411808_n.jpg"
}, {
"link": "https://instagram.com/p/5taZkUi0as/",
"ts": "1438150380",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11374162_516559415164259_129370877_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11374162_516559415164259_129370877_n.jpg"
}, {
"link": "https://instagram.com/p/5taX2lC0ao/",
"ts": "1438150365",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11324502_148435182156841_624381267_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11324502_148435182156841_624381267_n.jpg"
}, {
"link": "https://instagram.com/p/5r_Ei3C0TV/",
"ts": "1438102497",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s150x150/e15/11280524_133171163687710_15240539_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e15/11280524_133171163687710_15240539_n.jpg"
}, {
"link": "https://instagram.com/p/5r93_KC0RP/",
"ts": "1438101870",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11821095_1438287973166626_154666408_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11821095_1438287973166626_154666408_n.jpg"
}, {
"link": "https://instagram.com/p/5r3tTrC0Ul/",
"ts": "1438098637",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s150x150/e15/11821843_1475585319419283_738391224_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e15/11821843_1475585319419283_738391224_n.jpg"
}, {
"link": "https://instagram.com/p/5r3nMAi0UW/",
"ts": "1438098587",
"thumbnail": "https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/s150x150/e15/1889146_822363684528329_1455005726_n.jpg",
"image": "https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e15/1889146_822363684528329_1455005726_n.jpg"
}]
}
}
}
### Authenticating
You'll need to supply a facebook auth token and an associated facebook id.
```bash
> curl -X POST https://api.gotinder.com/auth --data '{"facebook_token": fb_token, "facebook_id": fb_user_id}'
The easiest way to get this is to go here, log in and then pick the auth token out of the URL you are redirected to.
Response:
{
"token": "8c839cee-0980-4b73-861b-8739cb597f57",
"user": { ... },
"globals": { ... },
"versions": { ... }
}
{
"token": "f9422921-15d8-47f1-a456-73cae8e898d6",
"user": {
"_id": "5378840ab6edf3ea3191f7ad",
"active_time": "2015-08-29T15:16:09.862Z",
"create_date": "2014-05-18T09:57:30.844Z",
"age_filter_max": 31,
"age_filter_min": 18,
"api_token": "f9422921-15d8-47f1-a456-73cae8e898d6",
"bio": "Chinese, working in Shanghai, try to find new ones..",
"birth_date": "1989-05-28T00:00:00.000Z",
"connection_count": 13,
"distance_filter": 81,
"full_name": "Xiangfa Lieu",
"groups": ["plus_subscription_999"],
"gender": 0,
"gender_filter": 1,
"interests": [{
"name": "CNNMoney",
"category": "Media/News/Publishing",
"id": "6651543066",
"created_time": "2014-03-06T01:19:29+0000"
}, {
"name": "Inc. Magazine",
"category": "Media/News/Publishing",
"category_list": [{
"id": "191684877517919",
"name": "Publisher"
}],
"id": "14158343106",
"created_time": "2014-03-06T01:19:15+0000"
}, {
"name": "Mashable - Social Media",
"category": "News/Media Website",
"id": "500945955060",
"created_time": "2014-03-06T01:17:24+0000"
}, {
"name": "WIRED",
"category": "Media/News/Publishing",
"id": "19440638720",
"created_time": "2014-03-06T01:17:18+0000"
}, {
"name": "Mashable",
"category": "Media/News/Publishing",
"id": "18807449704",
"created_time": "2014-03-06T01:17:18+0000"
}, {
"name": "The Daily Beast",
"category": "News/Media Website",
"id": "37763684202",
"created_time": "2014-03-06T01:17:05+0000"
}, {
"name": "TechCrunch",
"category": "News/Media Website",
"id": "8062627951",
"created_time": "2014-03-06T01:17:02+0000"
}, {
"name": "TEDx",
"category": "News/Media Website",
"id": "146191835553",
"created_time": "2014-03-06T01:16:54+0000"
}, {
"name": "Social Media Today",
"category": "News/Media Website",
"id": "18797601233",
"created_time": "2014-03-06T01:16:52+0000"
}, {
"name": "The Next Web",
"category": "Media/News/Publishing",
"category_list": [{
"id": "191684877517919",
"name": "Publisher"
}],
"id": "106976563522",
"created_time": "2014-03-06T01:16:42+0000"
}, {
"name": "Yahoo",
"category": "Media/News/Publishing",
"category_list": [{
"id": "2233",
"name": "Media/News/Publishing"
}],
"id": "7040724713",
"created_time": "2014-03-06T01:13:29+0000"
}, {
"name": "AOL",
"category": "Media/News/Publishing",
"category_list": [{
"id": "133436743388217",
"name": "Arts & Entertainment"
}],
"id": "107651419258212",
"created_time": "2014-03-06T01:12:26+0000"
}, {
"name": "Discovery",
"category": "TV Network",
"id": "6002238585",
"created_time": "2014-03-06T01:11:53+0000"
}, {
"name": "BBC News",
"category": "Media/News/Publishing",
"id": "228735667216",
"created_time": "2014-03-06T01:10:38+0000"
}, {
"name": "University of Science and Technology of China",
"category": "University",
"id": "108060535881886",
"created_time": "2014-03-05T07:56:31+0000"
}, {
"name": "Shanghai, China",
"category": "City",
"category_list": [{
"id": "224455390913969",
"name": "City"
}],
"id": "106324046073002",
"created_time": "2014-03-05T07:24:07+0000"
}],
"name": "Xiangfa",
"ping_time": "2015-08-29T17:18:05.025Z",
"discoverable": true,
"photos": [{
"id": "cb571b82-720a-4300-8e14-ebbcf9fcb601",
"main": "main",
"shape": "center_square",
"fileName": "cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg",
"fbId": "1380067595600331",
"extension": "jpg",
"processedFiles": [{
"width": 640,
"height": 640,
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/640x640_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg"
}, {
"width": 320,
"height": 320,
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/320x320_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg"
}, {
"width": 172,
"height": 172,
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/172x172_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg"
}, {
"width": 84,
"height": 84,
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/84x84_cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg"
}],
"url": "http://images.gotinder.com/5378840ab6edf3ea3191f7ad/cb571b82-720a-4300-8e14-ebbcf9fcb601.jpg"
}],
"purchases": []
},
"versions": {
"active_text": "0.0.0",
"age_filter": "2.1.0",
"matchmaker": "2.1.0",
"trending": "10.0.0",
"trending_active_text": "10.0.0"
},
"globals": {
"friends": true,
"invite_type": "client",
"recs_interval": 20000,
"updates_interval": 2000,
"recs_size": 40,
"matchmaker_default_message": "I want you to meet someone. I introduced you on Tinder www.gotinder.com/app",
"share_default_text": "<style>body{color:#fff;text-align:center;font-family:HelveticaNeue;text-shadow:0 1px 1px rgba(0,0,0,0.63);}h1{font-size:24px;line-height:24px;margin:0;}p{font-size:16px;margin:8px;}</style><h1>Get a Boost</h1><p><strong>Invite friends</strong> to show up <br/><strong>even higher</strong> in recommendations.</p>",
"boost_decay": 180,
"boost_up": 7,
"boost_down": 8,
"sparks": false,
"kontagent": false,
"sparks_enabled": false,
"kontagent_enabled": false,
"mqtt": false,
"tinder_sparks": true,
"moments_interval": 30000,
"fetch_connections": true,
"plus": true
}
}
> curl -X POST https://api.tinder.com/profile --data '{"age_filter_min": 26, "gender": 1, "age_filter_max": 32, "distance_filter": 14}'
Parameter info:
Gender | 0: Male 1: Female |
age_filter_min | int of min age match |
age_filter_max | int of max age match |
distance_filter | max search radius in kilometers |
> curl -X POST 'https://api.gotinder.com/report/{_id} --data '{"cause": cause_id}'
Note cause_id: should be 1
or 2
, (1 is spam, 2 is inappropriate/offensive)
Send a message to a match. Note you'll get a 500 back if you try to send a message to someone who isn't a match
curl 'https://api.gotindaer.com/user/matches/{_id} --data '{"message": "your message here"}'
response:
{
"_id":"53467235483cb56c475cc1d6",
"from":"53430689ab3c04c13e006ffb",
"to":"533a59ea52046fc077002815",
"match_id":"53464b0728ac73976d0a3fbf",
"sent_date":"2014-04-10T10:28:05.764Z",
"message":"hi!",
"created_date":"2014-04-10T10:28:05.764Z"
}
curl 'https://api.gotindaer.com/user/ping --data '{"lat": latitude, "lon": longitude}'
{
"status": 200,
"error": "position change not significant"
}
post 'https://api.gotindaer.com/updates'
arguments
{
"last_activity_date": "2015-08-28T14:18:04.339Z"
}
Response:
{
"matches": [{
"_id": "53464b0728ac73976d0a3fbf",
"messages": [{
"_id": "534651198ce6da797248c1a3",
"match_id": "53464b0728ac73976d0a3fbf",
"to": "53430689ab3c04c13e006ffb",
"from": "533a59ea52046fc077002815",
"message": "hi .... how is it going?",
"sent_date": "2014-04-10T08:06:49.800Z",
"created_date": "2014-04-10T08:06:49.800Z",
"timestamp": 1397117209800
}, {
"_id": "53466fd298b7278b72156523",
"match_id": "53464b0728ac73976d0a3fbf",
"to": "533a59ea52046fc077002815",
"from": "53430689ab3c04c13e006ffb",
"message": "Good thanks you? :)",
"sent_date": "2014-04-10T10:17:54.379Z",
"created_date": "2014-04-10T10:17:54.379Z",
"timestamp": 1397125074379
}],
"last_activity_date": "2014-04-10T10:17:54.379Z"
}],
"blocks": [],
"lists": [],
"deleted_lists": [],
"last_activity_date": "2014-04-10T10:17:54.379Z"
}
> curl https://api.gotinder.com/{like|pass}/{_id}
Response:
{match: match_result}
match_result
will be true
if they like you, false
if they haven't liked you or don't like you
> curl https://api.gotinder.com/user/recs
{
"status": 200,
"results": [{
"distance_mi": 2,
"common_like_count": 0,
"common_friend_count": 0,
"common_likes": [],
"common_friends": [],
"_id": "518d666a2a00df0e490000b9",
"bio": "",
"birth_date": "1986-05-17T00:00:00.000Z",
"gender": 1,
"name": "Elen",
"ping_time": "2014-04-08T11:59:18.494Z",
"photos": [{
"id": "fea4f480-7ce0-4143-a310-a03c2b2cdbc6",
"main": true,
"crop": "source",
"fileName": "fea4f480-7ce0-4143-a310-a03c2b2cdbc6.jpg",
"extension": "jpg",
"processedFiles": [{
"width": 640,
"height": 640,
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/640x640_fea4f480-7ce0-4143-a310-a03c2b2cdbc6.jpg"
}, {
"width": 320,
"height": 320,
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/320x320_fea4f480-7ce0-4143-a310-a03c2b2cdbc6.jpg"
}, {
"width": 172,
"height": 172,
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/172x172_fea4f480-7ce0-4143-a310-a03c2b2cdbc6.jpg"
}, {
"width": 84,
"height": 84,
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/84x84_fea4f480-7ce0-4143-a310-a03c2b2cdbc6.jpg"
}],
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/fea4f480-7ce0-4143-a310-a03c2b2cdbc6.jpg"
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/5c1d3231-5a75-4a07-91ff-5c012716583f.jpg",
"processedFiles": [{
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/640x640_pct_0_29.5312464_540_540_5c1d3231-5a75-4a07-91ff-5c012716583f.jpg",
"height": 640,
"width": 640
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/320x320_pct_0_29.5312464_540_540_5c1d3231-5a75-4a07-91ff-5c012716583f.jpg",
"height": 320,
"width": 320
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/172x172_pct_0_29.5312464_540_540_5c1d3231-5a75-4a07-91ff-5c012716583f.jpg",
"height": 172,
"width": 172
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/84x84_pct_0_29.5312464_540_540_5c1d3231-5a75-4a07-91ff-5c012716583f.jpg",
"height": 84,
"width": 84
}],
"extension": "jpg",
"fileName": "5c1d3231-5a75-4a07-91ff-5c012716583f.jpg",
"main": false,
"ydistance_percent": 0.75,
"yoffset_percent": 0.04101562,
"xoffset_percent": 0,
"id": "5c1d3231-5a75-4a07-91ff-5c012716583f",
"xdistance_percent": 1
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/5abd87e5-a181-4946-a8b9-880926a78943.jpg",
"processedFiles": [{
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/640x640_pct_0_118.125_540_540_5abd87e5-a181-4946-a8b9-880926a78943.jpg",
"height": 640,
"width": 640
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/320x320_pct_0_118.125_540_540_5abd87e5-a181-4946-a8b9-880926a78943.jpg",
"height": 320,
"width": 320
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/172x172_pct_0_118.125_540_540_5abd87e5-a181-4946-a8b9-880926a78943.jpg",
"height": 172,
"width": 172
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/84x84_pct_0_118.125_540_540_5abd87e5-a181-4946-a8b9-880926a78943.jpg",
"height": 84,
"width": 84
}],
"extension": "jpg",
"fileName": "5abd87e5-a181-4946-a8b9-880926a78943.jpg",
"main": false,
"ydistance_percent": 0.75,
"yoffset_percent": 0.1640625,
"xoffset_percent": 0,
"id": "5abd87e5-a181-4946-a8b9-880926a78943",
"xdistance_percent": 1
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/5e168698-a034-40c0-b7fb-7c05743f2310.jpg",
"processedFiles": [{
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/640x640_pct_157.570344_0_405_405_5e168698-a034-40c0-b7fb-7c05743f2310.jpg",
"height": 640,
"width": 640
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/320x320_pct_157.570344_0_405_405_5e168698-a034-40c0-b7fb-7c05743f2310.jpg",
"height": 320,
"width": 320
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/172x172_pct_157.570344_0_405_405_5e168698-a034-40c0-b7fb-7c05743f2310.jpg",
"height": 172,
"width": 172
}, {
"url": "http://images.gotinder.com/518d666a2a00df0e490000b9/84x84_pct_157.570344_0_405_405_5e168698-a034-40c0-b7fb-7c05743f2310.jpg",
"height": 84,
"width": 84
}],
"extension": "jpg",
"fileName": "5e168698-a034-40c0-b7fb-7c05743f2310.jpg",
"main": false,
"ydistance_percent": 1,
"yoffset_percent": 0,
"xoffset_percent": 0.2188477,
"id": "5e168698-a034-40c0-b7fb-7c05743f2310",
"xdistance_percent": 0.5625
}],
"birth_date_info": "fuzzy birthdate active, not displaying real birth_date"
}, {
"distance_mi": 4,
"common_like_count": 0,
"common_friend_count": 0,
"common_likes": [],
"common_friends": [],
"_id": "52cfc097f43cd91a67003639",
"bio": "",
"birth_date": "1987-11-02T00:00:00.000Z",
"gender": 1,
"name": "Cristina",
"ping_time": "2014-04-06T16:52:51.605Z",
"photos": [{
"id": "4ab7173f-7884-4fe3-872f-32c01d77de2a",
"main": "main",
"shape": "center_square",
"fileName": "4ab7173f-7884-4fe3-872f-32c01d77de2a.jpg",
"extension": "jpg",
"processedFiles": [{
"width": 640,
"height": 640,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/640x640_4ab7173f-7884-4fe3-872f-32c01d77de2a.jpg"
}, {
"width": 320,
"height": 320,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/320x320_4ab7173f-7884-4fe3-872f-32c01d77de2a.jpg"
}, {
"width": 172,
"height": 172,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/172x172_4ab7173f-7884-4fe3-872f-32c01d77de2a.jpg"
}, {
"width": 84,
"height": 84,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/84x84_4ab7173f-7884-4fe3-872f-32c01d77de2a.jpg"
}],
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/4ab7173f-7884-4fe3-872f-32c01d77de2a.jpg"
}, {
"id": "bb8ac90b-f48a-4a1c-8cba-0c05d26f1b47",
"shape": "center_square",
"fileName": "bb8ac90b-f48a-4a1c-8cba-0c05d26f1b47.jpg",
"extension": "jpg",
"processedFiles": [{
"width": 640,
"height": 640,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/640x640_bb8ac90b-f48a-4a1c-8cba-0c05d26f1b47.jpg"
}, {
"width": 320,
"height": 320,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/320x320_bb8ac90b-f48a-4a1c-8cba-0c05d26f1b47.jpg"
}, {
"width": 172,
"height": 172,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/172x172_bb8ac90b-f48a-4a1c-8cba-0c05d26f1b47.jpg"
}, {
"width": 84,
"height": 84,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/84x84_bb8ac90b-f48a-4a1c-8cba-0c05d26f1b47.jpg"
}],
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/bb8ac90b-f48a-4a1c-8cba-0c05d26f1b47.jpg"
}, {
"id": "dabe1c27-f186-48f2-807f-8a68e3831fe9",
"shape": "center_square",
"fileName": "dabe1c27-f186-48f2-807f-8a68e3831fe9.jpg",
"extension": "jpg",
"processedFiles": [{
"width": 640,
"height": 640,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/640x640_dabe1c27-f186-48f2-807f-8a68e3831fe9.jpg"
}, {
"width": 320,
"height": 320,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/320x320_dabe1c27-f186-48f2-807f-8a68e3831fe9.jpg"
}, {
"width": 172,
"height": 172,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/172x172_dabe1c27-f186-48f2-807f-8a68e3831fe9.jpg"
}, {
"width": 84,
"height": 84,
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/84x84_dabe1c27-f186-48f2-807f-8a68e3831fe9.jpg"
}],
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/dabe1c27-f186-48f2-807f-8a68e3831fe9.jpg"
}, {
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/59263e9d-6d76-4f42-8c8e-b4cf635b03c7.jpg",
"processedFiles": [{
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/640x640_59263e9d-6d76-4f42-8c8e-b4cf635b03c7.jpg",
"height": 640,
"width": 640
}, {
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/320x320_59263e9d-6d76-4f42-8c8e-b4cf635b03c7.jpg",
"height": 320,
"width": 320
}, {
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/172x172_59263e9d-6d76-4f42-8c8e-b4cf635b03c7.jpg",
"height": 172,
"width": 172
}, {
"url": "http://images.gotinder.com/52cfc097f43cd91a67003639/84x84_59263e9d-6d76-4f42-8c8e-b4cf635b03c7.jpg",
"height": 84,
"width": 84
}],
"extension": "jpg",
"fileName": "59263e9d-6d76-4f42-8c8e-b4cf635b03c7.jpg",
"main": false,
"ydistance_percent": 0.75,
"yoffset_percent": 0.08554687,
"xoffset_percent": 0,
"id": "59263e9d-6d76-4f42-8c8e-b4cf635b03c7",
"xdistance_percent": 1
}],
"birth_date_info": "fuzzy birthdate active, not displaying real birth_date"
}, ... ]
}
获取匹配
{
"matches": [
{
"_id": "553cf3b5a16083a77be2787255ebb1b905d774155bd328eb",
"closed": false,
"common_friend_count": 0,
"common_like_count": 0,
"created_date": "2015-12-27T04:31:42.441Z",
"dead": false,
"last_activity_date": "2015-12-27T04:31:42.441Z",
"message_count": 0,
"messages": [],
"participants": [
"553cf3b5a16083a77be27872"
],
"pending": false,
"not_following": {
"55ebb1b905d774155bd328eb": false,
"553cf3b5a16083a77be27872": false
},
"is_super_like": false,
"person": {
"_id": "553cf3b5a16083a77be27872",
"bio": "Designer, developer and researcher, currently in Shanghai as a tourist\n",
"birth_date": "1988-09-05T00:00:00.000Z",
"gender": 0,
"name": "Gilles",
"ping_time": "2015-12-26T15:04:53.183Z",
"photos": [
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/6425c9fd-8306-4158-8bba-be0502db359e.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/640x640_6425c9fd-8306-4158-8bba-be0502db359e.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/320x320_6425c9fd-8306-4158-8bba-be0502db359e.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/172x172_6425c9fd-8306-4158-8bba-be0502db359e.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/84x84_6425c9fd-8306-4158-8bba-be0502db359e.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "6425c9fd-8306-4158-8bba-be0502db359e.jpg",
"main": false,
"ydistance_percent": 1,
"yoffset_percent": 0,
"xoffset_percent": 0,
"id": "6425c9fd-8306-4158-8bba-be0502db359e",
"xdistance_percent": 1
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/4a3c8942-f3f7-4f9d-aba3-5d92513b48ed.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/640x640_4a3c8942-f3f7-4f9d-aba3-5d92513b48ed.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/320x320_4a3c8942-f3f7-4f9d-aba3-5d92513b48ed.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/172x172_4a3c8942-f3f7-4f9d-aba3-5d92513b48ed.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/84x84_4a3c8942-f3f7-4f9d-aba3-5d92513b48ed.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "4a3c8942-f3f7-4f9d-aba3-5d92513b48ed.jpg",
"main": false,
"ydistance_percent": 0.9999999,
"yoffset_percent": 0,
"xoffset_percent": 0,
"id": "4a3c8942-f3f7-4f9d-aba3-5d92513b48ed",
"xdistance_percent": 0.9999999
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/cffd3674-d174-464a-82c6-dc6e88ed5293.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/640x640_cffd3674-d174-464a-82c6-dc6e88ed5293.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/320x320_cffd3674-d174-464a-82c6-dc6e88ed5293.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/172x172_cffd3674-d174-464a-82c6-dc6e88ed5293.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/84x84_cffd3674-d174-464a-82c6-dc6e88ed5293.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "cffd3674-d174-464a-82c6-dc6e88ed5293.jpg",
"xoffset_percent": 0,
"ydistance_percent": 0.9999999999999998,
"main": false,
"xdistance_percent": 0.9999999999999998,
"id": "cffd3674-d174-464a-82c6-dc6e88ed5293",
"yoffset_percent": 0
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/f57daa21-fa95-4def-b530-8c616f5a0e65.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/640x640_f57daa21-fa95-4def-b530-8c616f5a0e65.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/320x320_f57daa21-fa95-4def-b530-8c616f5a0e65.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/172x172_f57daa21-fa95-4def-b530-8c616f5a0e65.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/84x84_f57daa21-fa95-4def-b530-8c616f5a0e65.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "f57daa21-fa95-4def-b530-8c616f5a0e65.jpg",
"main": false,
"ydistance_percent": 1,
"yoffset_percent": 0,
"xoffset_percent": 0.1270247,
"id": "f57daa21-fa95-4def-b530-8c616f5a0e65",
"xdistance_percent": 0.7458333
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/aba02de6-c1e7-45b8-8f94-d6483d9b10f5.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/640x640_aba02de6-c1e7-45b8-8f94-d6483d9b10f5.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/320x320_aba02de6-c1e7-45b8-8f94-d6483d9b10f5.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/172x172_aba02de6-c1e7-45b8-8f94-d6483d9b10f5.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/84x84_aba02de6-c1e7-45b8-8f94-d6483d9b10f5.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "aba02de6-c1e7-45b8-8f94-d6483d9b10f5.jpg",
"xoffset_percent": 0,
"ydistance_percent": 1,
"main": false,
"xdistance_percent": 1,
"id": "aba02de6-c1e7-45b8-8f94-d6483d9b10f5",
"yoffset_percent": 0
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/5d5c710e-b170-4180-8431-c7e165baf2a7.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/640x640_5d5c710e-b170-4180-8431-c7e165baf2a7.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/320x320_5d5c710e-b170-4180-8431-c7e165baf2a7.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/172x172_5d5c710e-b170-4180-8431-c7e165baf2a7.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/553cf3b5a16083a77be27872/84x84_5d5c710e-b170-4180-8431-c7e165baf2a7.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "5d5c710e-b170-4180-8431-c7e165baf2a7.jpg",
"xoffset_percent": 0,
"ydistance_percent": 0.9979716024340771,
"main": false,
"xdistance_percent": 1,
"id": "5d5c710e-b170-4180-8431-c7e165baf2a7",
"yoffset_percent": 0.001330628803245448
}
],
"badges": []
}
},
{
"_id": "55ebb1b905d774155bd328eb567b96863f066b8664c86676",
"closed": false,
"common_friend_count": 0,
"common_like_count": 0,
"created_date": "2015-12-27T04:33:33.353Z",
"dead": false,
"last_activity_date": "2015-12-27T04:33:33.353Z",
"message_count": 0,
"messages": [],
"participants": [
"567b96863f066b8664c86676"
],
"pending": false,
"not_following": {
"55ebb1b905d774155bd328eb": false,
"567b96863f066b8664c86676": false
},
"is_super_like": false,
"person": {
"_id": "567b96863f066b8664c86676",
"bio": "Russian, studying in Shanghai. Wechat- MaraJimny\n",
"birth_date": "1992-07-28T00:00:00.000Z",
"gender": 0,
"name": "Marat",
"ping_time": "2015-12-27T00:32:28.713Z",
"photos": [
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/0b6be07e-bc76-4807-9baf-8c6914e68132.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/640x640_0b6be07e-bc76-4807-9baf-8c6914e68132.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/320x320_0b6be07e-bc76-4807-9baf-8c6914e68132.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/172x172_0b6be07e-bc76-4807-9baf-8c6914e68132.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/84x84_0b6be07e-bc76-4807-9baf-8c6914e68132.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "0b6be07e-bc76-4807-9baf-8c6914e68132.jpg",
"xoffset_percent": 0,
"ydistance_percent": 1,
"main": false,
"xdistance_percent": 1,
"id": "0b6be07e-bc76-4807-9baf-8c6914e68132",
"yoffset_percent": 0
},
{
"id": "cdcc7eea-b9d9-4f23-9eb2-ada54767f71c",
"main": "main",
"shape": "center_square",
"fileName": "cdcc7eea-b9d9-4f23-9eb2-ada54767f71c.jpg",
"extension": "jpg",
"processedFiles": [
{
"width": 640,
"height": 640,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/640x640_cdcc7eea-b9d9-4f23-9eb2-ada54767f71c.jpg"
},
{
"width": 320,
"height": 320,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/320x320_cdcc7eea-b9d9-4f23-9eb2-ada54767f71c.jpg"
},
{
"width": 172,
"height": 172,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/172x172_cdcc7eea-b9d9-4f23-9eb2-ada54767f71c.jpg"
},
{
"width": 84,
"height": 84,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/84x84_cdcc7eea-b9d9-4f23-9eb2-ada54767f71c.jpg"
}
],
"url": "http://images.gotinder.com/567b96863f066b8664c86676/cdcc7eea-b9d9-4f23-9eb2-ada54767f71c.jpg"
},
{
"id": "a0e546d1-0b8b-4c0f-b8e6-5816a3955883",
"shape": "center_square",
"fileName": "a0e546d1-0b8b-4c0f-b8e6-5816a3955883.jpg",
"extension": "jpg",
"processedFiles": [
{
"width": 640,
"height": 640,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/640x640_a0e546d1-0b8b-4c0f-b8e6-5816a3955883.jpg"
},
{
"width": 320,
"height": 320,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/320x320_a0e546d1-0b8b-4c0f-b8e6-5816a3955883.jpg"
},
{
"width": 172,
"height": 172,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/172x172_a0e546d1-0b8b-4c0f-b8e6-5816a3955883.jpg"
},
{
"width": 84,
"height": 84,
"url": "http://images.gotinder.com/567b96863f066b8664c86676/84x84_a0e546d1-0b8b-4c0f-b8e6-5816a3955883.jpg"
}
],
"url": "http://images.gotinder.com/567b96863f066b8664c86676/a0e546d1-0b8b-4c0f-b8e6-5816a3955883.jpg"
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/b48c915d-458a-4a41-8344-fd893742e690.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/640x640_b48c915d-458a-4a41-8344-fd893742e690.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/320x320_b48c915d-458a-4a41-8344-fd893742e690.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/172x172_b48c915d-458a-4a41-8344-fd893742e690.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/84x84_b48c915d-458a-4a41-8344-fd893742e690.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "b48c915d-458a-4a41-8344-fd893742e690.jpg",
"xoffset_percent": 0.125,
"ydistance_percent": 1,
"main": false,
"xdistance_percent": 0.7499999999999999,
"id": "b48c915d-458a-4a41-8344-fd893742e690",
"yoffset_percent": 0
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/3efb0478-504d-44b2-b77e-e9082112bf29.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/640x640_3efb0478-504d-44b2-b77e-e9082112bf29.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/320x320_3efb0478-504d-44b2-b77e-e9082112bf29.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/172x172_3efb0478-504d-44b2-b77e-e9082112bf29.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/84x84_3efb0478-504d-44b2-b77e-e9082112bf29.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "3efb0478-504d-44b2-b77e-e9082112bf29.jpg",
"xoffset_percent": 0,
"ydistance_percent": 0.8,
"main": false,
"xdistance_percent": 1,
"id": "3efb0478-504d-44b2-b77e-e9082112bf29",
"yoffset_percent": 0.05759999999999999
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/f9484655-e7b0-42d7-8978-b272a28e24d5.jpg",
"processedFiles": [
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/640x640_f9484655-e7b0-42d7-8978-b272a28e24d5.jpg",
"height": 640,
"width": 640
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/320x320_f9484655-e7b0-42d7-8978-b272a28e24d5.jpg",
"height": 320,
"width": 320
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/172x172_f9484655-e7b0-42d7-8978-b272a28e24d5.jpg",
"height": 172,
"width": 172
},
{
"url": "http://images.gotinder.com/567b96863f066b8664c86676/84x84_f9484655-e7b0-42d7-8978-b272a28e24d5.jpg",
"height": 84,
"width": 84
}
],
"extension": "jpg",
"fileName": "f9484655-e7b0-42d7-8978-b272a28e24d5.jpg",
"xoffset_percent": 0,
"ydistance_percent": 0.8,
"main": false,
"xdistance_percent": 1,
"id": "f9484655-e7b0-42d7-8978-b272a28e24d5",
"yoffset_percent": 0.06079999999999999
}
],
"badges": []
}
},
{
"_id": "55ebb1b905d774155bd328eb567eb0cfb468372f147580c2",
"closed": false,
"common_friend_count": 0,
"common_like_count": 0,
"created_date": "2015-12-27T04:21:15.965Z",
"dead": false,
"last_activity_date": "2015-12-27T04:34:54.720Z",
"message_count": 0,
"messages": [
{
"_id": "567f6a6e8689085f53cad450",
"match_id": "55ebb1b905d774155bd328eb567eb0cfb468372f147580c2",
"to": "55ebb1b905d774155bd328eb",
"from": "567eb0cfb468372f147580c2",
"message": "are u in shanghar?",
"sent_date": "2015-12-27T04:34:54.720Z",
"created_date": "2015-12-27T04:34:54.720Z",
"timestamp": 1451190894720
}
],
"participants": [
"55ebb1b905d774155bd328eb",
"567eb0cfb468372f147580c2"
],
"pending": false,
"not_following": {
"55ebb1b905d774155bd328eb": false,
"567eb0cfb468372f147580c2": false
},
"is_super_like": false
}
],
"blocks": [],
"lists": [],
"deleted_lists": [],
"last_activity_date": "2015-12-27T04:34:54.720Z"
}
发送消息:
curl -H "Host: api.gotinder.com" -H "Accept: */*" -H "Authorization: Token token="b5814997-aafb-47e5-aa46-4ae5563abc72"" -H "x-client-version: 47217" -H "app-version: 467" -H "Proxy-Connection: keep-alive" -H "Accept-Language: en-CN;q=1, zh-Hans-CN;q=0.9, ja-CN;q=0.8, ko-CN;q=0.7, pt-BR;q=0.6, es-CN;q=0.5" -H "platform: ios" -H "Content-Type: application/json" -H "User-Agent: Tinder/4.7.2 (iPhone; iOS 9.1; Scale/3.00)" -H "X-Auth-Token: b5814997-aafb-47e5-aa46-4ae5563abc72" -H "os_version: 900001" --data-binary '{"message":"Hi"}' --compressed https://api.gotinder.com/user/matches/55909d1da7e01918695f90db55ebb1b905d774155bd328eb
发送使用post,内容:
{"message":"Hi"}
发送之后的响应:
{
"_id": "567ff3c806393fc87fe25ff4",
"from": "55ebb1b905d774155bd328eb",
"to": "55909d1da7e01918695f90db",
"match_id": "55909d1da7e01918695f90db55ebb1b905d774155bd328eb",
"sent_date": "2015-12-27T14:20:56.130Z",
"message": "Hi",
"created_date": "2015-12-27T14:20:56.130Z"
}