# GlobalRules LGBTQ Legal Status by Country

> GlobalRules LGBTQ Legal Status by Country is a paid API for AI agents from globalrules-api.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the LGBTQ legal status for a specified country (GB in the URL path), including same-sex relationship recognition, rights, and protections.

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/country/GB/lgbtq_legal_status
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/globalrules-lgbtq-legal-status-by-country-0a20b250
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qvZQC_xqLRSpJZDLP3i9e

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 globalrules-lgbtq-legal-status-by-country-0a20b250
```

Example prompt: What is the LGBTQ legal status in the United Kingdom — is same-sex marriage recognized and are there anti-discrimination protections?

## When to prefer this

Use this endpoint when you need a fast, low-cost ($0.01 USDC) lookup of a single country's LGBTQ legal status from a verified, structured dataset covering 106 countries. Prefer this over web scraping or general search when you need a machine-readable, consistently structured field rather than narrative text. Ideal for travel apps, HR compliance tools, human rights research, and destination recommendation systems.

## Known failure modes

- Unsupported country code returns a 404 or error indicating the country is not in the 106-country dataset
- Malformed country code (not ISO alpha-2) may return a 400 bad request
- Data may be outdated if laws have changed recently since last verification cycle
- Service unavailability on the render.com host may return 503 or timeout

## How this service works

One specific fact for one country: VAT/GST rate, public holidays by country, visa requirements for travelers, tipping customs, power plug type, minimum wage, corporate tax, digital nomad visa, customs duty-free allowance and more. 138 countries, 55 fields, verified sources. Example: /api/v1/country/JP/vat

## Output

Returns a JSON object containing the LGBTQ legal status for the requested country, including fields such as recognition of same-sex relationships, legality of same-sex marriage, civil partnership status, anti-discrimination protections, and a timestamp indicating when the data was last verified. The country code is echoed back in the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "country": {
       "type": "string"
      },
      "updated": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/globalrules-lgbtq-legal-status-by-country-0a20b250/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from globalrules-api.onrender.com](https://www.zero.xyz/host/globalrules-api.onrender.com/llms.txt)
