Your data. Your research AI.
Connect ChatGPT or your own tools to your licensed U.S. import data. Ask questions in plain English; the connected AI can read the field definitions and run research queries.
Create an API keyPrefer an easier connection?
Connect with MCP to sign in from ChatGPT, Claude or another compatible AI without copying an API key. Manage AI connections.
Connect ChatGPT with an API Action
- Sign in to your KirchnerData account and create a key under Connect your research AI. Copy it when shown.
- In a custom GPT that supports Actions, add an action and import this specification:
https://www.kirchnerdata.com/research-openapi.json - Choose API Key authentication and Bearer. Paste your key into the authentication settings.
- Add the instructions below, save, and test a question. Availability of custom GPT editing and Actions depends on your ChatGPT account and workspace settings.
Before researching, call getResearchSchema to learn my licensed dates, columns, data types, units, and limitations. Query only the bols table using queryResearchData. Report the actual licensed period used. Distinguish stored records from unique bills of lading. Monthly unit values are USD/kg estimates, not shipment invoice prices. Never present truncated results as complete. Use narrow dates where possible and cite KirchnerData and the query's arrival-date scope.
Simply pasting an API URL into an ordinary chat does not configure an authenticated connection. Do not paste your API key into the chat itself.
What your AI can access
The authenticated schema lists your permitted columns, their types, and their meaning. Your license is checked on every request. Keys stop working when revoked, expired, or removed from an active license.
Every table scan—including aggregates, joins and subqueries—is restricted to the licensed actual_arrival_date window. Asking for an unlicensed year returns no matching records; asking for an unlicensed column fails. The client cannot widen that window.
Product-trend, lead-finder and company-profile API endpoints also require a licensed research API key and enforce the same purchased date and column limits.
| Endpoint | Purpose |
|---|---|
| GET /api/research/access | Current license and request limits |
| GET /api/research/schema | Permitted fields, types, descriptions and example SQL |
| POST /api/research/query | Read-only research query; JSON body with a sql string |
Use your own software
Store the key in an environment variable named KIRCHNER_API_KEY. Send it as a Bearer header, never in a URL.
curl https://www.kirchnerdata.com/api/research/schema \
-H "Authorization: Bearer $KIRCHNER_API_KEY"
curl https://www.kirchnerdata.com/api/research/query \
-H "Authorization: Bearer $KIRCHNER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sql":"SELECT toYear(actual_arrival_date) AS year, count() AS records, uniqExact(bill_of_lading) AS bills_of_lading FROM bols GROUP BY year ORDER BY year"}'
Queries support SELECT, WITH, standard research aggregates, explicit joins and subqueries on bols. External tables, table functions, arbitrary settings, and comma joins are rejected. Unsupported functions return an explanatory error.
Responses include rows, row_count, truncated and access. Queries have a 30-second timeout and return at most 500 rows. Use account downloads for complete datasets. Limits are shared across the organization: 60 requests per minute and 2,000 per UTC day.
HTTP errors: 401 invalid key or inactive license; 400 invalid request or unsupported SQL; 422 query failed or exceeded query limits; 429 request allowance reached. API requests do not consume Kirchner Playground AI credit; your external AI provider may charge separately.
Need help? [email protected]