# AgentShare Solana DeFi Best Offers Lookup

> AgentShare Solana DeFi Best Offers Lookup is a paid API for AI agents from agentshare.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Searches and returns the best DeFi offers on Solana (e.g. Meteora DLMM pool briefs) matching a query, with optional currency conversion

## Facts

- Endpoint: GET https://agentshare.dev/api/v1/offers/best
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshare-solana-defi-best-offers-lookup-a9ef6d73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DHJdyOFoQNLkBCaQY6DtK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentshare-solana-defi-best-offers-lookup-a9ef6d73
```

Example prompt: Search AgentShare for the best current Solana DeFi offer for SOL-USDC and show me the price in USD.

## When to prefer this

Choose this endpoint when you need to quickly surface the best-ranked Solana DeFi offer matching a keyword or token name, especially for Meteora DLMM pool intelligence. Prefer it over generic DeFi aggregators when you need freshness metadata and x402-compatible micropayment billing for autonomous agent workflows on Solana.

## Known failure modes

- Missing required 'q' query parameter returns a 400 error
- No matching offers found returns an empty or null offer object
- Payment not processed (x402 billing not satisfied) results in 402 Payment Required
- Upstream Solana data source unavailable causes 503 or stale data
- Invalid currency code returns default VND or an error

## How this service works

AgentShare — agent-paid API access for autonomous agents. Dual-auth (API key or x402 USDC), machine-readable discovery, MCP. Commerce and Solana/Meteora DeFi tools are secondary modules.

## Output

Returns a JSON object containing the best-matching offer with its name, price, and currency, plus a status field confirming the response was successful. Freshness metadata may also be included to indicate data recency.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "minLength": 1,
       "description": "Search query."
      },
      "query": {
       "type": "string",
       "minLength": 1,
       "description": "Alias for q."
      },
      "currency": {
       "type": "string",
       "default": "VND",
       "description": "Output currency (VND, USD)."
      }
     },
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "offer": {
      "name": "example",
      "price": 10,
      "currency": "USD"
     },
     "status": "ok"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "offer": {
   "name": "example",
   "price": 10,
   "currency": "USD"
  },
  "status": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshare-solana-defi-best-offers-lookup-a9ef6d73/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshare.dev](https://www.zero.xyz/host/agentshare.dev/llms.txt)
