transfermarkt-api icon indicating copy to clipboard operation
transfermarkt-api copied to clipboard

Player search endpoint returning 403 URGENT

Open tommhe14 opened this issue 7 months ago • 9 comments

{"detail":"Client Error. Forbidden for url: https://www.transfermarkt.com/schnellsuche/ergebnis/schnellsuche?query=saka&Spieler_page=1"}

tommhe14 avatar Jun 28 '25 20:06 tommhe14

{"detail":"Server Error. Service Unavailable for url: https://www.transfermarkt.com/-/profil/spieler/433177"}

tommhe14 avatar Jul 04 '25 21:07 tommhe14

{ "detail": "Client Error. Forbidden for url: https://www.transfermarkt.com/schnellsuche/ergebnis/schnellsuche?query=arda&Spieler_page=1" }

kaanalp28 avatar Jul 07 '25 14:07 kaanalp28

Does anyone know when this issue will be fixed? It could be considered one of the main features of the API, this needs urgent attention...

kaanalp28 avatar Jul 07 '25 14:07 kaanalp28

I think it's the API url is blocked by transfermarkt, I've mounted the service on my server and it's ok.

gmarineau avatar Jul 07 '25 14:07 gmarineau

tm is implementing more restrictive policies to reduce scraping, so after a certain number of requests it blocks for a while with a 503

devel-softwary avatar Aug 09 '25 14:08 devel-softwary

I have reverse engineered tm's api, which I believe they use for their mobile app. I don't have access to the app due to geo restrictions but if someone did have access they could easily http track requests and get more routes. I have a good amount of endpoints found and have created a wrapper for it on my repo.

Not sure if anyone is interested but it's a work around.

tommhe14 avatar Aug 10 '25 22:08 tommhe14

I have reverse engineered tm's api, which I believe they use for their mobile app. I don't have access to the app due to geo restrictions but if someone did have access they could easily http track requests and get more routes. I have a good amount of endpoints found and have created a wrapper for it on my repo.

Not sure if anyone is interested but it's a work around.

Can you share it ?

okidevlux avatar Aug 28 '25 03:08 okidevlux

I have reverse engineered tm's api, which I believe they use for their mobile app. I don't have access to the app due to geo restrictions but if someone did have access they could easily http track requests and get more routes. I have a good amount of endpoints found and have created a wrapper for it on my repo. Not sure if anyone is interested but it's a work around.

Can you share it ?

https://github.com/tommhe14/transfermarkt-wrapper

Soon I will be covering more endpoints as I wish to cover all routes, so keep updated with the pip version if you do use it.

tommhe14 avatar Aug 28 '25 14:08 tommhe14

I’m constantly getting 403 now… it’s been several days already. So is that it? The end?

healertestua avatar Sep 09 '25 16:09 healertestua