Invalid 'apikey' query parameter
invalid 'apikey' query parameter is an error from Pimlico's API that means the API key in your RPC URL does not exist or has been deleted.
The API key you are trying to use is not valid. It either does not exist or has been deleted.
Learn how to create an API key here.