DryRunPreviewResponse
Returned (HTTP 200) by /domain/create, /domain/renew, and /domain/transfer when the request includes `dryRun: true`. All validation has run but nothing was created or charged. All money amounts are in pennies (USD cents).
Properties
| Name | Type | Description |
|---|---|---|
| status | string | |
| dryRun | boolean | Always true on a dry-run preview — distinguishes it from a real success response. |
| wouldSucceed | boolean | True if the operation would complete given current funds and spend-limit state. (Hard validation failures — unavailable, bad price, ineligible — return a normal error response instead of a preview.) |
| operation | string | |
| domain | string | |
| tld | string | |
| available | string | Availability as reported by the registry check (e.g. `available` / `unavailable`). |
| premium | boolean | Whether the domain is a premium/aftermarket name. |
| duration | integer | Term in years that would be purchased. |
| cost | integer | Total cost in pennies that would be charged. |
| costDisplay | string | Human-readable cost. |
| balance | integer | Current account credit balance in pennies. |
| sufficientFunds | boolean | Whether the balance covers the cost. |
| monthlySpendLimit | integer | The account's monthly API spend cap in pennies. Present only if a cap is configured. |
| monthlySpendSoFar | integer | API spend so far this calendar month in pennies. Present only if a cap is configured. |
| withinMonthlySpendLimit | boolean | Whether this cost stays within the monthly cap. Present only if a cap is configured. |
| message | string | Human-readable summary of the preview outcome. |
| requestId | string | Per-request UUID (also in the X-Request-Id header). Present on every API response. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/porkbun-com/json-schema/porkbun-com-dry-run-preview-response-schema.json",
"title": "DryRunPreviewResponse",
"description": "Returned (HTTP 200) by /domain/create, /domain/renew, and /domain/transfer when the request includes `dryRun: true`. All validation has run but nothing was created or charged. All money amounts are in pennies (USD cents).",
"x-generated": "2026-11-21",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/porkbun-com-openapi.json#/components/schemas/DryRunPreviewResponse",
"type": "object",
"properties": {
"status": {
"type": "string"
},
"dryRun": {
"type": "boolean",
"description": "Always true on a dry-run preview — distinguishes it from a real success response."
},
"wouldSucceed": {
"type": "boolean",
"description": "True if the operation would complete given current funds and spend-limit state. (Hard validation failures — unavailable, bad price, ineligible — return a normal error response instead of a preview.)"
},
"operation": {
"type": "string",
"enum": [
"registration",
"renewal",
"transfer"
]
},
"domain": {
"type": "string"
},
"tld": {
"type": "string"
},
"available": {
"type": "string",
"description": "Availability as reported by the registry check (e.g. `available` / `unavailable`)."
},
"premium": {
"type": "boolean",
"description": "Whether the domain is a premium/aftermarket name."
},
"duration": {
"type": "integer",
"description": "Term in years that would be purchased."
},
"cost": {
"type": "integer",
"description": "Total cost in pennies that would be charged."
},
"costDisplay": {
"type": "string",
"description": "Human-readable cost."
},
"balance": {
"type": "integer",
"description": "Current account credit balance in pennies."
},
"sufficientFunds": {
"type": "boolean",
"description": "Whether the balance covers the cost."
},
"monthlySpendLimit": {
"type": "integer",
"description": "The account's monthly API spend cap in pennies. Present only if a cap is configured."
},
"monthlySpendSoFar": {
"type": "integer",
"description": "API spend so far this calendar month in pennies. Present only if a cap is configured."
},
"withinMonthlySpendLimit": {
"type": "boolean",
"description": "Whether this cost stays within the monthly cap. Present only if a cap is configured."
},
"message": {
"type": "string",
"description": "Human-readable summary of the preview outcome."
},
"requestId": {
"type": "string",
"description": "Per-request UUID (also in the X-Request-Id header). Present on every API response."
}
},
"required": [
"status",
"dryRun",
"wouldSucceed",
"operation",
"domain",
"cost"
]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/porkbun-com-dry-run-preview-response"
curl "https://apis.io/api/v1/json-schemas?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.