Startup Valuation Estimate
Startup Valuation Estimate · GPT-Aktionen
Equidam API
Equidam Startup Valuation API
POST /api/widgetHandle widget data submissionHandles data submission from a widget, including creating or updating user data, submitting company information, and potentially returning benchmark data.
Ursprüngliches API-Schema
{
"openapi": "3.0.0",
"servers": [
{
"url": "https://app.equidam.com",
"description": "Production server"
}
],
"info": {
"title": "Equidam API",
"description": "Equidam Startup Valuation API",
"version": "0.1"
},
"paths": {
"/api/widget": {
"post": {
"tags": [
"Widget"
],
"summary": "Handle widget data submission",
"description": "Handles data submission from a widget, including creating or updating user data, submitting company information, and potentially returning benchmark data.",
"operationId": "valuateCompany",
"requestBody": {
"description": "User and company information submission.",
"required": true,
"content": {
"application/json": {
"schema": {
"required": [
"email",
"estimatedrevenues_y1",
"estimatedrevenues_y4",
"country",
"devstage",
"industry",
"firstname",
"lastname",
"companyname"
],
"properties": {
"email": {
"description": "User email.",
"type": "string",
"format": "email"
},
"estimatedrevenues_y1": {
"description": "Revenue in the last 12 months.",
"type": "number"
},
"estimatedrevenues_y4": {
"description": "Forecasted revenue in 3 years from now.",
"type": "number"
},
"foundersnumber": {
"description": "Number of founders.",
"type": "integer"
},
"employeesnumber": {
"description": "Number of employees.",
"type": "integer"
},
"startedyear": {
"description": "The year the company was started.",
"type": "integer"
},
"currency": {
"description": "Currency of the financial amounts.",
"type": "string"
},
"country": {
"description": "Country of operation.",
"type": "string"
},
"industry": {
"description": "Industry code.",
"type": "string"
},
"industryName": {
"description": "Name of the industry.",
"type": "string"
},
"devstage": {
"description": "Development stage of the company.",
"type": "string"
},
"iptype": {
"description": "Type of intellectual property.",
"type": "string"
},
"profitability": {
"description": "Profitability type.",
"type": "string"
},
"companyname": {
"description": "Name of the company.",
"type": "string"
},
"firstname": {
"description": "First name of the contact.",
"type": "string"
},
"lastname": {
"description": "Last name of the contact.",
"type": "string"
}
},
"type": "object"
},
"example": {
"estimatedrevenues_y1": 50000,
"estimatedrevenues_y4": 250000,
"foundersnumber": 1,
"employeesnumber": 0,
"startedyear": 2024,
"currency": "USD",
"country": "ar",
"industry": "5010201010",
"industryName": "Integrated Oil & Gas",
"devstage": "type1",
"iptype": "type1",
"profitability": "type1",
"companyname": "Innovative Energy Solutions",
"firstname": "Alex",
"lastname": "Martinez",
"email": "alex.martinez@innovativeenergy.com"
}
}
}
},
"responses": {
"200": {
"description": "Success response with benchmark data if available.",
"content": {
"application/json": {
"schema": {
"properties": {
"chart": {
"description": "Benchmark chart data.",
"type": "object"
},
"lower": {
"description": "Lower bound of the valuation range.",
"type": "number"
},
"higher": {
"description": "Higher bound of the valuation range.",
"type": "number"
},
"avg": {
"description": "Average valuation.",
"type": "number"
}
},
"type": "object"
},
"example": {
"lower": 1000000,
"higher": 2000000,
"avg": 1500000
}
}
}
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthenticated"
},
"403": {
"description": "Forbidden"
}
},
"security": [
{
"sanctum": []
}
]
}
}
},
"components": {
"securitySchemes": {
"sanctum": {
"type": "apiKey",
"description": "Enter token in format : `Bearer <token>`",
"name": "Authorization",
"in": "header"
}
},
"schemas": {
"Foo": {
"type": "object",
"properties": {
"bar": {
"type": "string",
"description": "bar desc."
}
}
}
}
}
}