Collecting data from get requests

It is necessary to make a parser on webscraper that will collect data from Get requests of the sofascore website. Here is a list of requests:
https://www.sofascore.com/api/v1/event/13006729
https://www.sofascore.com/api/v1/event/13006729/point-by-point
https://www.sofascore.com/api/v1/event/7325907/statistics

Here is a list of links https://www.sofascore.com/en-us/tennis/match/tokuda-lipovsek-puches/QPwsJnmb#id:7325985
https://www.sofascore.com/en-us/tennis/match/ojeda-lara-leonardi/LTusVAx#id:7325915
https://www.sofascore.com/en-us/tennis/match/john-baptiste-grey/qNLsdKKb#id:7325967
https://www.sofascore.com/en-us/tennis/match /okamura-rodionova-ar/HljsPncb#id:7324006
https://www.sofascore.com/en-us/tennis/match/pulgar-garcia-ruppli/IyQseHab#id:7325170
https://www.sofascore.com/en-us/tennis/match/von-deichmann-gjorcheska/TeCshWH#id:7325940
https://www.sofascore.com/en-us/tennis/match/boluda-purkiss-granollers/hAjsdgp#id:7 325908
https://www.sofascore.com/en-us/tennis/match/al-taweel-schmid/mPgsQuw#id:7325233
https://www.sofascore.com/en-us/tennis/match/munar-vega-hernandez/BJDsgCab#id:7325912
https://www.sofascore.com/en-us/tennis/match/sorni-chavarria-capecchi/RVAsvACb#id:7325907
https://www.sofascore.com/en-us/tenn is/match/mcdonald-zhe-li/WzrsNtA#id:7323977
https://www.sofascore.com/en-us/tennis/match/tepavac-lopez-perez/UxvsfPF#id:7323989
https://www.sofascore.com/en-us/tennis/match/cacao-climent-gregori/nYPsWPAb#id:7325193
https://www.sofascore.com/en-us/tennis/match/brouleau-saez-larra/JwusRdw#id:7325925
IN each link at the end has a match id:"match id(number)" The parser must initially extract the event id from the link, substitute the id into get requests (there will be several requests (4-5))
Example
Here is a link
https://www.sofascore.com/en-us/tennis/match/tokuda-lipovsek-puches/QPwsJnmb#id:7325985
In this case, the match id is 7325985
Accordingly, the requests should look like this:
https://www.sofascore.com/api/v1/event/7325985
https://www.sofascore.com/api/v1/event/7325985/point-by-point
https://www.sofascore.com/api/v1/event/7325985/statistics

More example:
Link:https://www.sofascore.com/en-us/tennis/match/ojeda-lara-leonardi/LTusVAx#id:7325915
In this case, the match id is 7325915
Accordingly, the requests should look like this:
https://www.sofascore.com/api/v1/event/7325915
https://www.sofascore.com/api/v1/event/7325915/point-by-point
https://www.sofascore.com/api/v1/event/7325915/statistics
The parser needs to collect the contents of these requests, and it should look like this (screenshot)