at.marque.partner.checkAvailability

marque.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Check up to 500 domains at once. Call it proxied through the user's PDS (atproto-proxy: did:web:marque.at:api#marque_registrar) with an at.marque.partnerApi-scoped token. Each result carries its own error field, so a single bad domain does not fail the batch. Prices are in whole US dollars and are indicative; the binding amount is set when createCheckout builds the Stripe session. Premium domains are flagged with isPremium and priced via premiumPrice.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "results": {
              "items": {
                "ref": "#result",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "results"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "domains": {
            "description": "Fully qualified domain names to check, e.g. example.com.",
            "items": {
              "maxLength": 253,
              "type": "string"
            },
            "maxLength": 500,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "domains"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "result": {
      "properties": {
        "available": {
          "description": "Whether the domain is available to register.",
          "type": "boolean"
        },
        "domain": {
          "maxLength": 253,
          "type": "string"
        },
        "error": {
          "description": "Per-domain error, e.g. invalid format or unsupported TLD.",
          "type": "string"
        },
        "isPremium": {
          "type": "boolean"
        },
        "maxPeriod": {
          "description": "Maximum registration period in years.",
          "type": "integer"
        },
        "minPeriod": {
          "description": "Minimum registration period in years.",
          "type": "integer"
        },
        "premiumPrice": {
          "description": "Premium registration price, in whole US dollars, when isPremium is true.",
          "type": "integer"
        },
        "price": {
          "description": "Registration price per year, in whole US dollars.",
          "type": "integer"
        },
        "renewPrice": {
          "description": "Renewal price per year, in whole US dollars.",
          "type": "integer"
        },
        "status": {
          "description": "Registry status when not available, e.g. active.",
          "knownValues": [
            "active",
            "free",
            "premium"
          ],
          "type": "string"
        },
        "transferAddsYear": {
          "type": "boolean"
        },
        "transferPrice": {
          "description": "Transfer price, in whole US dollars.",
          "type": "integer"
        },
        "whoisPrivacyAllowed": {
          "type": "boolean"
        }
      },
      "required": [
        "domain",
        "available"
      ],
      "type": "object"
    }
  },
  "description": "Check availability and pricing for a batch of domains, for partner integrations.",
  "id": "at.marque.partner.checkAvailability",
  "lexicon": 1
}

Validate Record

Validate a record against at.marque.partner.checkAvailability

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:nckosudltxrtrjkt4zz4jy5y
CID
bafyreidvskflipottj3qmnthozrcafcdadhzdyhrnryohtne6dc5rfxz7e
Indexed At
2026-06-16 14:45 UTC
AT-URI
at://did:plc:nckosudltxrtrjkt4zz4jy5y/com.atproto.lexicon.schema/at.marque.partner.checkAvailability

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@