APITube Help Center

How to test requests in the API Playground

Build a request in the dashboard and inspect its response

Jacob Partington

Written by Jacob Partington

July 3, 2026

Updated October 16, 2026

How to test requests in the API Playground

Open API Playground in the dashboard to build and run a news request. Choose an endpoint, one of your keys and the search parameters. The page shows the real API response, with the same permissions, limits and charges as a request from your app.

The API playground: endpoint and API key selectors, preset searches, and the live request preview with code samples

How do you run your first request in the Playground?

  1. Choose Everything (/v1/news/everything), the default endpoint.
  2. Select an API key from the current workspace and mode. If the list is empty, use Create a key; see where to find your key.
  3. Set Language to en and Per page to 10.
  4. Click Execute search, or press ⌘/Ctrl + Enter.

The response appears beside the form. You can change a parameter and run the search again.

Which endpoints and filters can you try?

The endpoint selector includes Everything, Top headlines, Raw, Local, Count, Trends, Article, Story, Category, Topic, Industry, Entity and Fact Check. An endpoint that needs a path value shows an extra input.

Common filters, dates, sorting and pagination are visible in the form. Open Advanced filters for source, entity, media, quality, readability, sentiment, faceting, highlighting and trends options. Each field shows its API parameter name.

Choose a Preset for a starting search, then adjust it. Presets cover brand monitoring, topics, investment research and risk monitoring.

Does the Playground use my quota?

Yes, under the normal rules for the selected endpoint and live key. A test key returns preview content without spending quota. See test keys vs live keys.

Key restrictions, plan access and rate limits still apply. The Playground shows API errors, including insufficient funds, missing permissions and rate limits.

How do you turn a Playground request into code?

Open Source code example below the form. Choose cURL, JavaScript, Python, PHP, Go, Ruby or Java, then copy the snippet. It uses an X-API-Key header with a YOUR_API_KEY placeholder. Add your key in your app’s secret settings.

The panel also shows the request URL.

How do you read the response?

  • JSON: read the body, or use Copy and Download for the full payload. The on-screen preview may be shortened.
  • Visual: browse article cards and use Previous/Next for pages.
  • Headers: inspect the returned response headers.

The status and response time appear above these tabs.

Common Questions

Can I replay a request from my API logs?

Yes. Open a request log and click Open in Playground. It fills the endpoint and parameters for supported requests. Review them before running again.

Can I share a Playground request with a teammate?

Yes. Share request copies a URL that opens the filled form. Your teammate needs an available key to run it. Sharing the form does not grant them account access.

Do test keys work in the Playground?

Yes. Select Test mode to list test keys. They return preview content without using quota. Full article text requires a paid live key.

Why did my request return an error instead of articles?

Read the status, code and message in JSON. 402 points to funds or spending limits, 403 to access, and 429 to request limits. A validation error names the parameter to fix. Correct the cause before rerunning.


Related Articles