{
    "openapi": "3.0.3",
    "info": {
        "description": "AI-powered domain appraisal including estimated price, domain score, key signals, and root words.",
        "version": "1.0.0",
        "title": "Atom Domain Appraisal API",
        "contact": {
            "email": "service@atom.com"
        },
        "termsOfService": "https://www.atom.com/terms"
    },
    "servers": [
        {
            "url": "https://www.atom.com/api/marketplace",
            "description": "Production"
        }
    ],
    "tags": [
        {
            "name": "Appraisal Apis",
            "description": "APIs for domain appraisal functionality using separate API tokens"
        }
    ],
    "externalDocs": {
        "description": "Atom API docs",
        "url": "https://www.atom.com/api-docs"
    },
    "paths": {
        "/domain-appraisal": {
            "get": {
                "tags": [
                    "Appraisal Apis"
                ],
                "summary": "Get Domain Appraisal",
                "description": "Get an AI-powered appraisal for a domain including estimated price, domain score, key signals, and root words. Accepts either dedicated Appraisal API token OR Seller API token with atom_seller=1 permission.",
                "operationId": "domainAppraisal",
                "parameters": [
                    {
                        "name": "api_token",
                        "in": "query",
                        "required": true,
                        "description": "API Key (Appraisal API token OR Seller API token with atom_seller=1 permission)",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    },
                    {
                        "name": "user_id",
                        "in": "query",
                        "required": true,
                        "description": "UserId of the API Token",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    },
                    {
                        "name": "domain_name",
                        "in": "query",
                        "required": true,
                        "description": "Domain Name to appraise",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DomainAppraisalResponse"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Invalid API token or insufficient permissions",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "example": "Wrong API Token"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "example": "Daily rate limit exceeded. You have used 10 of 10 daily appraisal requests."
                                        },
                                        "daily_limit": {
                                            "type": "integer",
                                            "example": 10
                                        },
                                        "used_today": {
                                            "type": "integer",
                                            "example": 10
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "apiToken": {
                "type": "apiKey",
                "in": "query",
                "name": "api_token",
                "description": "Seller / partner / appraisal / trademark API token from https://www.atom.com/dashboard/seller/api-access"
            }
        },
        "schemas": []
    }
}