Connect Apex to the outside world: call a web API with Http and HttpRequest, read the response, and turn JSON into Apex values
Make your first web request from Apex: build the request, send it, check the status code, and read the JSON body