# 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/gang/gang-whether-a-wallet-can-still-be-invited-and-the-referrer-a-ref-names/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
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
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
}
```

## Usage and limits
## Gang Invite Eligibility API

Retrieve whether a wallet can still be invited, and the referrer a ref names with the Gang API. Provide wallet in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Market reference and account inspection**: Keep market, asset and account identities distinct when interpreting records.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `eligible` | Returned eligible field |
| `reason` | Returned reason field |
| `referrer` | Returned referrer value (nullable in the reference) |

## 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.

## Common questions
### Which inputs identify this request?
Provide wallet in query (string). Keep identifiers and URLs in the formats documented for this implementation.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

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

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