Documentation

How to Use Qexur

Two types of users, one unified protocol. Pick your path below.

For AI Developers

Build AI agents that act on any website.

Instead of writing 100 different integrations, use one Qexur API key to let your AI interact with every website on the Qexur network.

01

Sign Up & Get Your API Key

Create a free Qexur account and select AI Developer as your role. Go to your dashboard and click Generate Key. You'll get a key like qex_292f86...

Create free account →
02

Fetch Available Tools for a Website

Query the /api/v1/tools endpoint with a target site ID to get a list of available actions. The response is a pre-formatted OpenAI-compatible tool definition — drop it straight into GPT-4 function calling.

GET /api/v1/tools
curl https://qexur.me/api/v1/tools?site_id=YOUR_SITE_ID \
  -H "Authorization: Bearer qex_your_key"
03

Execute an Action

When your AI decides to take an action (e.g., buy a product), send a POST to /api/v1/execute. Qexur validates, signs, and proxies the request to the target website securely in milliseconds.

POST /api/v1/executeLIVE
curl -X POST https://qexur.me/api/v1/execute \
  -H "Authorization: Bearer qex_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "target_site_id": "site-uuid-here",
    "action_name":    "create_order",
    "parameters":     { "product_id": "prod_xyz", "quantity": 2 }
  }'
04

Debug with Audit Logs

Every request is stored in your dashboard with the exact payload sent, the website's response, and any errors. Debug your AI agent workflows without guesswork — click View Payload on any log entry.

For Website Owners

Become AI-ready in minutes.

Register your website on Qexur and instantly open your platform to millions of AI agents worldwide — for free. You even earn a revenue share on every AI-driven transaction.

01

Sign Up & Register Your Website

Create a free account and select Website Owner. In your dashboard, click Add Websiteand enter your site name and your server's webhook URL (the endpoint where AI requests should be sent).

02

Define Your Schema (1-Click)

Tell Qexur what actions AI agents are allowed to take on your site. You can either use our visual Schema Editor, or simply paste your existing OpenAPI / Swagger URL — our engine auto-generates the schema for you instantly.

No manual coding needed — paste your Swagger URL and done.
03

Verify Incoming Requests

When an AI agent triggers an action, Qexur sends a signed POST to your webhook URL. Verify the X-Qexur-Signatureheader using your Secret Key to confirm it's a legitimate Qexur request, then process it like any other API call.

Webhook verification (Node.js example)
// Use the raw request body string, NOT the parsed JSON object!
const rawBody = await request.text();

const rawSig = req.headers['x-qexur-signature'];
const sig = rawSig.startsWith('sha256=') ? rawSig.slice(7) : rawSig;

const expected = crypto
  .createHmac('sha256', YOUR_SECRET)
  .update(rawBody, 'utf8')
  .digest('hex');

if (sig !== expected) return res.status(401).send('Unauthorized');

// ✅ Parse the JSON AFTER verifying the signature
const body = JSON.parse(rawBody);
processOrder(body.parameters);
04

Monitor Revenue from AI Traffic

Check your Owner Dashboard to see a live audit log of every AI request. Revenue generated by AI agents is tracked and broken down per action. You receive a commission on every successful transaction — a completely new revenue stream on top of your existing business.

Ready to start?

Free to join. No credit card required. Start with 10,000 free requests.

Create Free Account