company_dns

Query Explorer

Overview

The Query Explorer is an interactive tool within company_dns that provides a user-friendly interface for testing API endpoints without writing code. It allows researchers, analysts, and developers to quickly query company and industry data through a simple form interface.

Key Features

Endpoint Selection

Query Construction

Response Visualization

User-Friendly Interface

How to Use

  1. Select Host
    • Choose between a local instance (localhost:8000) or the Mediumroast hosted instance (company-dns.mediumroast.io)
  2. Select Endpoint
    • Browse the available API endpoints organized by version and function
    • Endpoints show the parameter pattern that will be replaced by your query
  3. Enter Query Term
    • Type your search term, company name, or industry code
    • The query will replace the parameter placeholder in the selected endpoint
  4. Execute Request
    • Click the “Execute Request” button to send the API request
    • The constructed URL appears in the “Request URL” section
  5. View Results
    • JSON response data is displayed in the “Response Data” section
    • Use the “Copy JSON” button to copy the entire response to clipboard

Example Queries

Company Information

Specific SIC Code Lookup

Technical Implementation

The Query Explorer is implemented using:

Usage Tips

The Query Explorer makes API testing accessible to both technical and non-technical users, allowing quick exploration of the company_dns data without writing code.