Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

new QueryProfile endpoint #44

Closed
andrewtian opened this issue Mar 29, 2018 · 20 comments
Closed

new QueryProfile endpoint #44

andrewtian opened this issue Mar 29, 2018 · 20 comments
Labels

Comments

@andrewtian
Copy link

andrewtian commented Mar 29, 2018

It seems epic has changed the QueryProfile endpoint, anyone know what the new one is supposed to be? I do not have a computer right now to do scraping. My sites are not working.

🙂

@qlaffont
Copy link
Owner

@andrewtian, yes i confirmed ! I will work on it if I have time this week or next week.

@qlaffont qlaffont added the bug label Mar 30, 2018
@ItsCEED
Copy link

ItsCEED commented Mar 30, 2018

@qlaffont you can post a small tutorial on how to do this so we can do this and scrape and update when you are not avalible, also i was sniffing some calls from the client and due to their overload on the servers they removed stats from the game and its not sending any api calls for that

@scott-harrison
Copy link

scott-harrison commented Apr 3, 2018

Any idea what the new endpoint is?

@qlaffont
Copy link
Owner

qlaffont commented Apr 3, 2018

There is not new endpoint. It still the same. It's just Epic Games cut stats during some time.

@qlaffont qlaffont closed this as completed Apr 3, 2018
@ItsCEED
Copy link

ItsCEED commented Apr 3, 2018

@TheMaster there must be other way they are pulling data, most of the websites are running with no issue even after the endpoint got closed.

@qlaffont also, do you know the match endpoint?

@qlaffont
Copy link
Owner

qlaffont commented Apr 3, 2018

Stats-Fortnite.com use this API and i have no issue and i use the same endpoint x). Try to reboot your program, you probably need to renew the token.

@qlaffont qlaffont reopened this Apr 3, 2018
@qlaffont qlaffont closed this as completed Apr 3, 2018
@SkYNewZ
Copy link

SkYNewZ commented Apr 3, 2018

Your API is doing this, so you can test by yourself

curl -X POST \
  'https://fortnite-public-service-prod11.ol.epicgames.com/fortnite/api/game/v2/profile/{{accountId}}/public/QueryProfile?profileId=profile0&rvn=-1' \
  -H 'Authorization: Bearer f725da71467a4e29b190d8eefc547a0e' \

return

{
    "errorCode": "errors.com.epicgames.modules.profiles.operation_forbidden",
    "errorMessage": "Operation QueryProfile not allowed via this route",
    "messageVars": [
        "QueryProfile"
    ],
    "numericErrorCode": 12813,
    "originatingService": "fortnite",
    "intent": "prod-live"
}

@scott-harrison
Copy link

so tried the above. With new access token still get the same response operation_forbidden. note this was working a few days ago.

@scott-harrison
Copy link

I guess i will check if a new endpoint exist later when I'm back at my computer.

@scott-harrison
Copy link

scott-harrison commented Apr 3, 2018

just looked using fiddler and I can get the data using https://fortnite-public-service-prod11.ol.epicgames.com/fortnite/api/game/v2/profile/{{accountId}}/client/QueryProfile?profileId=athena&rvn=-1

However when i try to get that data through postman i get invalid_payload

Im officially stuck now not sure what to do next. :(

This ticket shouldn't be closed it would seem a few of us are having the same issue.

@ItsCEED
Copy link

ItsCEED commented Apr 4, 2018

@qlaffont

@scott-harrison
Copy link

I don't think Stats-Fortnite.com is using 'https://fortnite-public-service-prod11.ol.epicgames.com/fortnite/api/game/v2/profile/{{accountId}}/public/QueryProfile?profileId=athena&rvn=-1' endpoint. Just seems to pull stats which is different endpoint. I need the user profile endpoint which contains character item ids etc

@qlaffont
Copy link
Owner

qlaffont commented Apr 4, 2018

Guys, i'm busy this week so i will answer all issues next week.

@weeco
Copy link

weeco commented Apr 13, 2018

@TheMaster That's not possible. You can only access this endpoint for your own account. The server checks the access and returns 403 if you try it for other profiles.

@scott-harrison
Copy link

Yeah I understand that now. I wished Epic games made that data public like it used to be. 😞

@Maiu15
Copy link

Maiu15 commented Jan 9, 2019

It is public, a lot of people do it.

@SkYNewZ
Copy link

SkYNewZ commented Jan 9, 2019

I create an API if you want to try it : fortnite-api an a demo is setup here

@scott-harrison
Copy link

To my original problem 9 months ago. I wanted to access user locker data. As that used to be included when using query profile endpoint. That data is no longer returned by the endpoint.

@Maiu15
Copy link

Maiu15 commented Jan 9, 2019

But there should be another endpoint then? How does all the other people do it?

@scott-harrison
Copy link

scott-harrison commented Jan 9, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants