curl to fetch the data catalog. This is the best way to verify that your API key and IP whitelisting are configured correctly.
1. Prepare your API Key
Copy your Test Key from the VTULab Dashboard. It should look liketest_....
2. Construct the Request
We will call theGET /v1/vtu/data endpoint. This endpoint does not require any parameters and is used to retrieve available data plans.
3. Analyze the Response
A successful response will return a200 OK status and a JSON body containing networks and data_plans.
Common Issues
If your request fails, check the following:401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
Verify that the IP address of the machine making the request is added to your whitelist in the VTULab Dashboard.
429 Too Many Requests
429 Too Many Requests
You have exceeded the rate limit. Wait a few seconds and try again.
Once you’ve successfully fetched the catalog, you’re ready to start Purchasing Data.
