GlobNIC AI Agent Integration
Connect an AI agent to GlobNIC's domain marketplace. Look up a domain, review its published price, and save an inquiry or nonbinding quotation after the buyer consents to contact storage.
- A2A interface
- 1.0 JSON-RPC
- Reply type
- Synchronous Message
- Public access
- Discovery and listings
Quick start
Use the official A2A CLI, a compatible SDK, or HTTPS. The example below checks a public listing and can be run without sharing contact details.
Official A2A CLI
a2a card get https://globnic.com
a2a send -a https://globnic.com -o json "Is example.com listed?"Already using Claude Code, Codex or another skills-compatible harness? Use the GlobNIC Skill for the marketplace workflow and the official A2A CLI Skill for terminal discovery and messaging.
Endpoints and schemas
- Agent Card
Discover the agent’s interfaces, supported version and six skills.
- Protocol catalog
Read machine-readable input schemas, capability boundaries and current enabled status.
- OpenAPI
Inspect the HTTP tool schemas for ordinary API clients.
- llms.txt
Find marketplace, purchasing and integration resources in plain text.
Send JSON-RPC requests by POST to https://globnic.com/api/agent-commerce/a2a.
Use the A2A specification for protocol types and the official Python SDK for a compatible client.
A2A requests and replies
Send SendMessage with A2A-Version: 1.0, ROLE_USER and one part. Ask an exact listing question in text or use a structured data part for a documented operation.
Read-only HTTP example (Bash)
curl --fail-with-body 'https://globnic.com/api/agent-commerce/a2a' \
-H 'Content-Type: application/json' \
-H 'A2A-Version: 1.0' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "SendMessage",
"params": {
"message": {
"messageId": "globnic-example-lookup-1",
"role": "ROLE_USER",
"parts": [
{
"text": "Is example.com listed?"
}
]
},
"configuration": {
"acceptedOutputModes": [
"application/json"
]
}
}
}'Structured catalog search part
{
"data": {
"tool": "globnic_get_catalog",
"arguments": {
"query": "studio",
"limit": 5
}
}
}Read the structured data in result.message.parts. The lookup returns listed or not_listed. For a listed domain, check listing.buy_now_price_cents and currency before presenting a price. A missing price means staff review is needed. Registration and transfer eligibility require a separate check.
Set acceptedOutputModes to application/json for structured data or text/plain for a human-readable reply. Use the synchronous Message result directly, without a task polling loop.
Supported operations
globnic_get_catalog
Public read
Search public inventory. Send a short keyword or domain query and an optional limit of 1 to 10.
globnic_create_inquiry
Explicit consent
Save name, email, domain and requirements. Use consent: true only after approval.
globnic_create_quote
Inquiry grant
Save a nonbinding price and authorized terms for this inquiry’s domain.
globnic_get_quote
Inquiry grant
Read a saved quote by quote ID and check its current status and expiry.
globnic_reply_to_inquiry
Inquiry grant
Save a follow-up, request staff review or record an explicit stop.
globnic_get_history
Inquiry grant
Read the same inquiry’s saved replies and quotes.
Consent, quotes and follow-up
- Confirm the domain. Search current inventory without sharing contact details.
- Ask first. Get explicit permission to store the person’s name, email and requirements. Send the selected domain and
consent: trueonly after they agree. - Save the inquiry. Keep the returned
access_tokenin private client state. Use it asinquiry_access_tokenin structured arguments. Continue with the returned A2AcontextId, which matches the inquiry receipt’sid. Check the receipt status before requesting a quote. - Read the same quote. Use
globnic_create_quoteand readidfrom the structured data part inresult.message.parts. Pass that value asquote_idtoglobnic_get_quotewith the same inquiry context and grant. Check the saved status and expiry each time you present terms. - Continue or hand off. Save a follow-up with
globnic_reply_to_inquiry. Useaction: "human"for staff review oraction: "stop"to stop automation. Confirmstatus: "stopped"in the reply. Read back the inquiry status, recent messages and saved quotes withglobnic_get_history. A still-unexpired quote on a stopped inquiry reads asneeds_reviewwith no offer. An expired quote reads asexpired.
After consent, replace the placeholders and put this part inside message.parts.
Consented inquiry data part
{
"data": {
"tool": "globnic_create_inquiry",
"arguments": {
"name": "<buyer-approved name>",
"email": "<buyer-approved email>",
"domain": "<selected GlobNIC domain>",
"requirements": "<buyer-approved requirements>",
"consent": true,
"idempotency_key": "<new UUID for this inquiry>"
}
}
}Private quote-read message template
{
"messageId": "<new-read-message-id>",
"contextId": "<contextId returned with this inquiry>",
"role": "ROLE_USER",
"parts": [
{
"data": {
"tool": "globnic_get_quote",
"arguments": {
"inquiry_access_token": "<original private inquiry grant>",
"quote_id": "<saved quote ID>"
}
}
}
]
}Replace the placeholders locally. Keep inquiry grants out of prompts, URLs, shared logs and messages to other agents. The inquiry grant authorizes private operations for one inquiry and expires after seven days.
Reuse the same message ID or explicit retry UUID and identical inputs if a write times out. Assign a new ID to a new inquiry, quote or follow-up.
ChatGPT and MCP
Use ChatGPT's custom MCP connector flow. Name the connection GlobNIC Connected Inquiries and enter https://globnic.com/api/agent-commerce/connected-mcp. Select OAuth, sign in to GlobNIC, and approve inquiry continuation. Keep per-tool approvals enabled.
In a later turn, ask to continue the existing inquiry. A verified connection retrieves the saved inquiry without repeating contact details. If several inquiries are saved, the assistant asks which domain to continue. Existing guest inquiries require their original private access proof before linking.
You can review or revoke connected access at any time. For the public capability-based MCP endpoint, see the protocol catalog.
Troubleshooting
- Invalid params (-32602)
- Send one text or data part, ROLE_USER and a nonblank message ID up to 256 characters. Use the documented operation schema.
- Version not supported
- Read supportedInterfaces on the Agent Card and include the A2A-Version: 1.0 header.
- No listing or no published price
- Report the exact public result. Keep registration or transfer availability unverified and offer staff review when appropriate.
- Unauthorized or inquiry expired
- Use the original inquiry grant and matching context. Obtain fresh consent before starting a replacement inquiry.
- Quote expired, changed or held
- Check status and expires_at. Request fresh authorized terms or continue with staff when review is required.
- Rate limited (429)
- Honor Retry-After when provided. Use backoff and reuse the same request ID and arguments after ambiguous write delivery.