LoneStar Oracle Leaseedge API

LeaseEdge provides Gulf of Mexico oil & gas lease intelligence from BOEM federal data. Track active leases, auction results, block availability, and upcoming sales. $0.15/query via x402 USDC on Base. | Full catalog: lonestaroracle.xyz

GitHub OpenAPI

Operations 5

GET /lease/report Gulf of Mexico Oil & Gas Leases #
GET /lease/auctions BBG1 Auction Results #
GET /lease/expiring Expiring Leases #
GET /lease/portfolio Company Lease Portfolio #
GET /lease/preview Preview #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lonestaroracle-xyz:lonestaroracle-xyz-leaseedge-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lonestaroracle-xyz-leaseedge-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LoneStarOracle — full catalog Leaseedge API
  version: 1.20261117.1
  description: Every LoneStarOracle pay-per-call data service in one document. Call each endpoint at its own host (x-direct-url on each operation; `url` in catalog.json). That direct URL is the resource the 402 challenge names, so x402 clients pay and retry cleanly. Gateway paths https://lonestaroracle.xyz/api// (gateway_url) only 307-redirect to the direct URL; never pay at the proxy. Paid endpoints return HTTP 402 with x402 payment requirements (USDC on Base or Solana); pay and retry. No API keys, no accounts. Price per call is in x-payment-info.
  contact:
    email: info@lonestaroracle.xyz
  x-guidance: 'Agents: fetch this one document; do not crawl per-service hosts. Base URL https://lonestaroracle.xyz/api/<service>/<path> forwards to each service (x-direct-url on each operation is the same endpoint on its own host; both work). Every operation carries x-payment-info: authMode ''free'' needs no payment; authMode ''payment'' returns HTTP 402 with the requirements in the base64 ''payment-required'' response header (x402 v2; a v1 body is also sent for legacy clients). Pay USDC on Base (eip155:8453) or Solana and retry with the payment header; settlement happens only on a successful (2xx) response, so a 4xx such as an unknown category or a missing parameter is never charged. Query-parameter names are in each operation; common synonyms are accepted (e.g. ticker/symbol, country/location). Prices are fixed per call and listed in x-payment-info.price.amount (USD). info.version changes whenever any path, parameter, price or schema changes (x-content-hash is the sha256 of paths+components), so re-pull only when it moves. Flat list: https://lonestaroracle.xyz/catalog.json. Payment manifest: https://lonestaroracle.xyz/.well-known/x402. Feedback (free, no payment, no key): POST any JSON to https://lonestaroracle.xyz/feedback (what you wanted, what was missing, what you would pay); GET it for the suggested fields. Trialability (added 2026-10-05): each operation carries x-example (a real worked request/response), x-edge-cases (how empty, partial, bad-input and error results are represented), x-provenance (data freshness) and x-service-version (pin it; it changes only when that service''s paths, parameters or schema change). Contact: jay@lonestaroracle.xyz.'
  x-content-hash: a415b2385083d038b66621b6e2914e1146ffe53354e39e473f6493078f509f72
  x-changed-at: '2026-11-17T06:40:26Z'
servers:
- url: https://lonestaroracle.xyz/api
tags:
- name: leaseedge
  x-displayName: LeaseEdge
  x-service-slug: lease
  description: 'LeaseEdge provides Gulf of Mexico oil & gas lease intelligence from BOEM federal data. Track active leases, auction results, block availability, and upcoming sales. $0.15/query via x402 USDC on Base. | Full catalog: lonestaroracle.xyz'
  x-direct-host: https://lease.lonestaroracle.xyz
  x-service-version: f32ace2e555d
  x-provenance:
    sources:
    - official and public market data
    freshness: live reads at request time; not stale-cached
paths:
  /lease/report:
    get:
      summary: Gulf of Mexico Oil & Gas Leases
      operationId: lease_report_report_get
      parameters:
      - name: area
        in: query
        required: false
        schema:
          type: string
          title: Area
          example: GC
        description: Optional Gulf of Mexico (Gulf of America) offshore area code, e.g. GC (Green Canyon), MC (Mississippi Canyon), WR (Walker Ridge).
        example: GC
      - name: status
        in: query
        required: false
        schema:
          type: string
          title: Status
          example: ACTIVE
        description: 'Optional lease status: ACTIVE, or a BOEM code such as A (Active), P (Producing), E (Expired), T (Terminated), R (Released).'
        example: ACTIVE
      - name: lease_number
        in: query
        required: false
        schema:
          type: string
          title: Lease Number
          example: G12345
        description: Optional exact BOEM lease number, e.g. G12345.
        example: G12345
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 20
          title: Limit
          example: 20
        description: Max leases returned, up to 50 (default 20).
        example: 20
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
              example:
                service: LeaseEdge
                fetched_at: '2026-09-16T00:58:08.078228+00:00'
                data_as_of: '2026-05-19T16:17:52.662047+00:00'
                summary: '{...}'
                upcoming_sales: '[...]'
                leases: '[...]'
                ai_narrative: '# Gulf of Mexico Lease Intelligence Summary


                  The database contains 8,201 total leases with a 42% active rate (3,434 leases), indicating a mature portfolio where nearly 58% have been terminated—typical of a market with decades of production history. The significant inventory of active leases suggests substantial remaining acreage available for operations, though the absence of upcoming sales data limits near-term acquisition opportunities. For investors seeking new acreage, this points to a secondary market focused on acquiring or trading existing active leases rather than competing in BOEM lease sales in the immediate pipeline.'
                _plus: +2 more fields
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lease__HTTPValidationError'
        '402':
          description: Payment Required
      x-payment-info:
        authMode: payment
        price:
          mode: fixed
          currency: USD
          amount: '0.150000'
        security:
        - x402: {}
      description: Offshore Gulf of Mexico oil and gas lease-sale and block data.
      tags:
      - leaseedge
      x-direct-url: https://lease.lonestaroracle.xyz/report
      x-service-version: f32ace2e555d
      x-provenance:
        sources:
        - official and public market data
        freshness: live reads at request time; not stale-cached
      x-example:
        request: {}
        response:
          service: LeaseEdge
          fetched_at: '2026-09-16T00:58:08.078228+00:00'
          data_as_of: '2026-05-19T16:17:52.662047+00:00'
          summary: '{...}'
          upcoming_sales: '[...]'
          leases: '[...]'
          ai_narrative: '# Gulf of Mexico Lease Intelligence Summary


            The database contains 8,201 total leases with a 42% active rate (3,434 leases), indicating a mature portfolio where nearly 58% have been terminated—typical of a market with decades of production history. The significant inventory of active leases suggests substantial remaining acreage available for operations, though the absence of upcoming sales data limits near-term acquisition opportunities. For investors seeking new acreage, this points to a secondary market focused on acquiring or trading existing active leases rather than competing in BOEM lease sales in the immediate pipeline.'
          _plus: +2 more fields
      x-edge-cases:
        behavior: No params to misuse. Unreleased fields return null; warming cache returns 503, not stale data.
        bad_input: Null/empty, never fabricated.
        partial_data: Unsourced fields null, never guessed.
        on_error: A 5xx settles nothing under x402 - you are not charged for a failed call.
      x-latency:
        p50_ms: null
        p95_ms: null
        samples: null
        measured: 1 live call, 2026-09-16 (single sample)
  /lease/auctions:
    get:
      summary: BBG1 Auction Results
      operationId: lease_auctions_auctions_get
      parameters:
      - name: area
        in: query
        required: false
        schema:
          type: string
          title: Area
      - name: company
        in: query
        required: false
        schema:
          type: string
          title: Company
      - name: min_bid
        in: query
        required: false
        schema:
          type: number
          default: 0
          title: Min Bid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lease__HTTPValidationError'
      x-payment-info:
        authMode: payment
        price:
          mode: fixed
          currency: USD
          amount: '0.150000'
        security:
        - x402: {}
      tags:
      - leaseedge
      x-direct-url: https://lease.lonestaroracle.xyz/auctions
      x-service-version: f32ace2e555d
      x-provenance:
        sources:
        - official and public market data
        freshness: live reads at request time; not stale-cached
      x-edge-cases:
        behavior: 'Not yet documented for this endpoint. Fleet rule: payment settles only on a 2xx response, so a 4xx (unknown symbol/category, missing parameter) or 5xx (upstream down) is never charged.'
  /lease/expiring:
    get:
      summary: Expiring Leases
      operationId: lease_expiring_expiring_get
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 365
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lease__HTTPValidationError'
      x-payment-info:
        authMode: payment
        price:
          mode: fixed
          currency: USD
          amount: '0.150000'
        security:
        - x402: {}
      tags:
      - leaseedge
      x-direct-url: https://lease.lonestaroracle.xyz/expiring
      x-service-version: f32ace2e555d
      x-provenance:
        sources:
        - official and public market data
        freshness: live reads at request time; not stale-cached
      x-edge-cases:
        behavior: 'Not yet documented for this endpoint. Fleet rule: payment settles only on a 2xx response, so a 4xx (unknown symbol/category, missing parameter) or 5xx (upstream down) is never charged.'
  /lease/portfolio:
    get:
      summary: Company Lease Portfolio
      operationId: lease_portfolio_portfolio_get
      parameters:
      - name: company
        in: query
        required: false
        schema:
          type: string
          title: Company
      - name: company_num
        in: query
        required: false
        schema:
          type: string
          title: Company Num
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lease__HTTPValidationError'
      x-payment-info:
        authMode: payment
        price:
          mode: fixed
          currency: USD
          amount: '0.150000'
        security:
        - x402: {}
      tags:
      - leaseedge
      x-direct-url: https://lease.lonestaroracle.xyz/portfolio
      x-service-version: f32ace2e555d
      x-provenance:
        sources:
        - official and public market data
        freshness: live reads at request time; not stale-cached
      x-edge-cases:
        behavior: 'Not yet documented for this endpoint. Fleet rule: payment settles only on a 2xx response, so a 4xx (unknown symbol/category, missing parameter) or 5xx (upstream down) is never charged.'
  /lease/preview:
    get:
      summary: Preview
      operationId: lease_preview_preview_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      x-payment-info:
        authMode: free
      tags:
      - leaseedge
      x-direct-url: https://lease.lonestaroracle.xyz/preview
      x-service-version: f32ace2e555d
      x-provenance:
        sources:
        - official and public market data
        freshness: live reads at request time; not stale-cached
      x-edge-cases:
        behavior: 'Not yet documented for this endpoint. Fleet rule: payment settles only on a 2xx response, so a 4xx (unknown symbol/category, missing parameter) or 5xx (upstream down) is never charged.'
components:
  schemas:
    lease__HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/lease__ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    lease__ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
externalDocs:
  url: https://docs.lonestaroracle.xyz