# EPA RFS RIN Credits Data (SiteCheck Trade & Energy)

> EPA RFS RIN Credits Data (SiteCheck Trade & Energy) is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns EPA Renewable Fuel Standard RIN price, trade volume, and generation data by D code and year from EPA's EMTS system

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/energy/biofuel-rin-credits-epa?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/epa-rfs-rin-credits-data-sitecheck-trade-energy-31b74165
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qz5LxELzy37vau5iiYcqV

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 epa-rfs-rin-credits-data-sitecheck-trade-energy-31b74165
```

Example prompt: Pull the latest weekly volume-weighted average prices for D6 RINs from EPA's RFS data, filtered to RIN year 2025, and show me the most recent 50 rows including QAP verification type.

## When to prefer this

Use this endpoint when you need structured, filterable access to EPA RFS RIN pricing, trade volume, or generation data without building your own EPA EMTS scraper. Prefer this over raw EPA data when you need volume-weighted average prices by D code and QAP type, or when you need monthly generation breakdowns by producer and fuel category. Best for compliance cost estimation, RIN market analysis, and regulatory reporting workflows.

## Known failure modes

- Invalid D code value (must be D3, D4, D5, D6, or D7) returns an error
- Invalid report type string returns an error
- Year out of available EPA data range returns empty results
- Limit outside 1-500 range may be rejected or clamped
- EPA upstream data may be stale if monthly refresh has not yet occurred
- Network timeout if EPA EMTS source is temporarily unavailable

## How this service works

US EPA Renewable Fuel Standard RIN data from EPA's public RFS data app (EMTS): weekly volume-weighted average prices of separated D3, D4, D5 and D6 RINs (USD, by RIN year and QAP verification type), weekly RIN trade volumes, RINs generated per year by D code (gross, error corrections, net) and monthly RIN generation by producer type and fuel category with gallons. Filter by D code and year; EPA refreshes it monthly.

## Output

A JSON object containing the requested report type (prices, trades, generation, or generation-monthly), EPA source URL, column names, total matched rows, and a results array. For prices: week, D code, QAP type (Unverified or Q-RIN), RIN year, price in USD, and transfer year. Also includes a checkedAt timestamp and total row count in the EPA table.

## 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": {
      "year": {
       "type": "string",
       "description": "RIN year, e.g. 2026"
      },
      "dCode": {
       "type": "string",
       "description": "D3, D4, D5, D6 or D7"
      },
      "limit": {
       "type": "string",
       "description": "Rows, 1 to 500 (default 50; newest first)"
      },
      "report": {
       "type": "string",
       "description": "prices, trades, generation, generation-monthly (default prices)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "report": "prices",
  "source": "https://www.epa.gov/fuels-registration-reporting-and-compliance-help/rin-trades-and-price-information",
  "columns": [
   "Transfer Date by Week",
   "Transfer Year"
  ],
  "matched": 410,
  "results": [
   {
    "week": "2026-09-21",
    "dCode": "D6",
    "qapType": "Unverified",
    "rinYear": 2024,
    "priceUSD": 2.02,
    "transferYear": 2026
   },
   {
    "week": "2026-09-21",
    "dCode": "D6",
    "qapType": "Q-RIN",
    "rinYear": 2025,
    "priceUSD": 1.18,
    "transferYear": 2026
   }
  ],
  "checkedAt": "2026-10-23T09:38:30.815Z",
  "totalRowsInEpaTable": 8643
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/epa-rfs-rin-credits-data-sitecheck-trade-energy-31b74165/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
