# Gang — Whether a wallet can still be invited, and the referrer a ref names

Get Gang Invite Eligibility data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Gang, pass parameters such as wallet, and retrieve structured data including returned eligible field, returned reason field, and returned referrer value for market reference and account inspection, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/gang/gang-whether-a-wallet-can-still-be-invited-and-the-referrer-a-ref-names/?offering=07f71327-d6f1-4302-b302-5ad107050aa2
API ID: 07f71327-d6f1-4302-b302-5ad107050aa2
Provider: gang
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/gang/api/ref/eligible
Page update time: 2026-12-03T02:49:41.558Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:41.175Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Gang — Whether a wallet can still be invited, and the referrer a ref names request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "wallet": {
          "type": "string",
          "description": ""
        },
        "ref": {
          "type": "string",
          "description": "An address or a .ai handle"
        }
      },
      "required": [
        "wallet"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "eligible": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    },
    "referrer": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/gang/api/ref/eligible?wallet=0x222d44bf7c03c0f16a40047c820a2af3d4fca27a' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "eligible": false,
  "reason": "already_traded",
  "referrer": null
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- gang: https://openany.si/market/apis/gang/gang-whether-a-wallet-can-still-be-invited-and-the-referrer-a-ref-names/?offering=07f71327-d6f1-4302-b302-5ad107050aa2

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
