Sponsored

Rivian API

KenJ

Well-Known Member
First Name
Ken
Joined
Aug 2, 2020
Threads
9
Messages
82
Reaction score
134
Location
NJ
Vehicles
Tesla S85D
Occupation
Engineer
Has anyone heard anything (or seen anything) about what kinds of API's might be available for Rivian R1S/R1T. Just took a course in Python and thinking about some of the sites I've used like TeslaFi or TeslaSpy to do cool analysis on our vehicles ... I realize this may be way premature (seems like Rivian is even still hiring for these kinds of developer positions)
Sponsored

 

OverZealous

Well-Known Member
Joined
Oct 19, 2021
Threads
8
Messages
581
Reaction score
1,460
Location
Louisville, Kentucky
Vehicles
2022 R1T LE, 2023 R1S Quad-Adventure
Occupation
Product Manager / Front-End Developer
I wrote in an suggested it a while ago. I agree, I use the Tesla integration with HomeAssistant all the time!
 

crashmtb

Well-Known Member
Joined
Jul 11, 2021
Threads
0
Messages
4,650
Reaction score
7,124
Location
Man oh Manitoba
Vehicles
2002 aluminium garden shed TD5

Sponsored

kanundrum

Well-Known Member
Joined
May 2, 2020
Threads
218
Messages
3,989
Reaction score
12,158
Location
Washington, DC
Vehicles
Giulia QV, R1S (S00N)
Occupation
IT
Clubs
 

lostpacket

Well-Known Member
Joined
Dec 4, 2021
Threads
25
Messages
735
Reaction score
2,184
Location
Vermont
Vehicles
Crosstrek, R1T
Occupation
Software Engineer
There's a lot out there that's open and can Play around with but also...

https://rivian.com/legal/vulnerability

If anyone wants some juicy stuff pm me.
There's a reason I bought one of these

Rivian R1T R1S Rivian API 1649206162875


It's a completely unrelated reason but it does also have the word juice in it.


Edit: You may not start a conversation with the following recipients: kanundrum
 

kanundrum

Well-Known Member
Joined
May 2, 2020
Threads
218
Messages
3,989
Reaction score
12,158
Location
Washington, DC
Vehicles
Giulia QV, R1S (S00N)
Occupation
IT
Clubs
 
There's a reason I bought one of these

1649206162875.png


It's a completely unrelated reason but it does also have the word juice in it.


Edit: You may not start a conversation with the following recipients: kanundrum

That's not a reason! This is a proper reason!

Rivian R1T R1S Rivian API Screenshot_20220405-205643
 

rhuber

Well-Known Member
Joined
Sep 14, 2021
Threads
13
Messages
178
Reaction score
1,201
Location
Peoria, IL
Vehicles
Model S Plaid, 64 Mustang

lostpacket

Well-Known Member
Joined
Dec 4, 2021
Threads
25
Messages
735
Reaction score
2,184
Location
Vermont
Vehicles
Crosstrek, R1T
Occupation
Software Engineer
same^

I'm on the reddit discord too if that's easier
 

Sponsored

zefram47

Well-Known Member
First Name
Aaron
Joined
Feb 6, 2022
Threads
14
Messages
2,098
Reaction score
3,311
Location
Denver, CO
Vehicles
R1T, C6 Corvette GS
Occupation
Software Engineer
Clubs
 
It'll be a long time before I see a truck, but watching the thread to see if this goes anywhere. I was disappointed when Kyle said the OBD data was locked down.
 

AdamUCF

Well-Known Member
First Name
Adam
Joined
Apr 3, 2022
Threads
13
Messages
299
Reaction score
434
Location
Orlando, FL
Vehicles
June 2022 R1T
I've been digging into this. I don't have a truck and I'd be able to figure out more with one but the APIs don't seem to complicated.

login...
Code:
POST https://auth.rivianservices.com/auth/api/v1/token/auth HTTP/1.1

{"username":"[email protected]","pwd":"Password123","source":"mobile","grant_type":"password","client_id":"rivian.mobile.sc12bjxe8lmhkul","client_secret":"rlL058p5kipkZr0C85KrdA4AZ0QBNVh75zXWwEWf"}
Use the access token to call APIs.

Not sure what this one actually does...
Code:
GET https://vehicle.rivianservices.com/rdata/api/v1/provision/get_all_invites?user_id=[userid]
Authorization: Bearer [token]

{"all_invites":{},"api":"/rdata/api/v1/provision"}
The mapping uses a separate auth but uses telanav
https://astrapena.telenav.com/entity/v4/search/json?locale=en-US&location=29.3859372%2C-81.372624&f.cat.list=771&limit=50

All the order stuff and the like is graphql queries against rivian.com
Code:
POST https://rivian.com/api/gql/orders/graphql/ HTTP/1.1

{"operationName":"vehicleOrders","variables":{},"query":"query vehicleOrders { searchOrders(input: {orderTypes: [PRE_ORDER, VEHICLE], pageInfo: {from: 0, size: 10000}}) { __typename data { __typename id state fulfillmentSummaryStatus items { __typename productDetails { __typename ... on VehicleProduct { sku } } } } } }"}

Sorry, not much useful. Would be easier if I had a truck to interact with. Still digging into it though.
 

Zoidz

Well-Known Member
First Name
Gil
Joined
Feb 28, 2021
Threads
108
Messages
3,195
Reaction score
7,036
Location
PA
Vehicles
23 R1S Adv, Avalanche, BMWs-X3,330cic,K1200RS bike
Occupation
Engineer
I've been digging into this. I don't have a truck and I'd be able to figure out more with one but the APIs don't seem to complicated.

login...
Code:
POST https://auth.rivianservices.com/auth/api/v1/token/auth HTTP/1.1

{"username":"[email protected]","pwd":"Password123","source":"mobile","grant_type":"password","client_id":"rivian.mobile.sc12bjxe8lmhkul","client_secret":"rlL058p5kipkZr0C85KrdA4AZ0QBNVh75zXWwEWf"}
Use the access token to call APIs.

Not sure what this one actually does...
Code:
GET https://vehicle.rivianservices.com/rdata/api/v1/provision/get_all_invites?user_id=[userid]
Authorization: Bearer [token]

{"all_invites":{},"api":"/rdata/api/v1/provision"}
The mapping uses a separate auth but uses telanav
https://astrapena.telenav.com/entity/v4/search/json?locale=en-US&location=29.3859372%2C-81.372624&f.cat.list=771&limit=50

All the order stuff and the like is graphql queries against rivian.com
Code:
POST https://rivian.com/api/gql/orders/graphql/ HTTP/1.1

{"operationName":"vehicleOrders","variables":{},"query":"query vehicleOrders { searchOrders(input: {orderTypes: [PRE_ORDER, VEHICLE], pageInfo: {from: 0, size: 10000}}) { __typename data { __typename id state fulfillmentSummaryStatus items { __typename productDetails { __typename ... on VehicleProduct { sku } } } } } }"}

Sorry, not much useful. Would be easier if I had a truck to interact with. Still digging into it though.
Thanks for posting, this is encouraging, standard stuff like Oauth and JSON. Looking forward to hopefully using the API with my Universal Devices ISY994i Home Automation Controller once I get my R1S.
 

Ladiver

Well-Known Member
First Name
Jeff
Joined
Jan 23, 2021
Threads
48
Messages
927
Reaction score
1,786
Location
Ca
Vehicles
GMC 3500, Corvette Z06, Rivian R1T, Rivian R1S
Clubs
 
@kanundrum add me to the list of curious. Please
 

LeoH

Well-Known Member
First Name
Leo
Joined
Jun 12, 2020
Threads
4
Messages
371
Reaction score
440
Location
Illinois
Vehicles
RIVIAN R1S, Tesla S, MAzda CX-30, Toyota Sienna
Occupation
Software Engineering Director
Yeah it's a standard REST end points, so should not be that complicated. Unfortunately I do not have a vehicle yet but I did ask Rivian about API availability and they have ignored those emails, I even asked them on linkedin lol

I really want to be able to dig into the vehicle/API for accessibility reasons
Sponsored

 
 




Top