API Reference

Input validation

Ten questions - /api/v3/companies/{cid}/tenq

All the following is required input for 10 questions

'estimatedrevenues_y1' => ["integer", [0, 1000000000000]],

'estimatedrevenues_y4' => ["integer", [1, 1000000000000]],

'foundersnumber' => ["integer", [1, 10]],

'employeesnumber' => ["integer", [0, 100000]],

'startedyear' => ["integer", [1950, date('Y')]],

'currency' => ["type", ['ALL','ARS', 'AWG', 'AUD', 'EUR', 'BSD', 'BHD', 'BBD', 'BMD', 'BOB', 'BAM', 'BRL', 'BGN', 'CAD', 'KYD', 'CLP', 'CNY', 'COP', 'CRC', 'HRK', 'CZK', 'DKK', 'DOP', 'USD', 'EGP', 'GIP', 'HKD', 'HUF', 'ISK', 'INR', 'IDR', 'IMP', 'ILS', 'JMD', 'JPY', 'KRW', 'KWD', 'CHF', 'MYR', 'MUR', 'MXN', 'NZD', 'NGN', 'NOK', 'PYG', 'PEN', 'PHP', 'PLN', 'QAR', 'RON', 'RUB', 'SAR', 'RSD', 'SGD', 'ZAR', 'SEK', 'TWD', 'TTD', 'TND', 'TRY', 'UAH', 'AED', 'GBP', 'UYU', 'JOD', 'XOF', 'KES']],

'country' => ["type", ['al', 'ar', 'aw', 'au', 'at', 'bs', 'bh', 'bb', 'be', 'bm', 'bo', 'ba', 'br', 'bg', 'ca', 'ky', 'cl', 'cn', 'co', 'cr', 'hr', 'cy', 'cz', 'dk', 'do', 'ec', 'eg', 'ee', 'fi', 'fr', 'de', 'gi', 'gr', 'hk', 'hu', 'is', 'in', 'id', 'ie', 'im', 'il', 'it', 'jm', 'jo', 'jp', 'kr', 'kw', 'lv', 'li', 'lt', 'lu', 'my', 'mt', 'mu', 'mx', 'nl', 'nz', 'ng', 'no', 'pa', 'py', 'pe', 'ph', 'pl', 'pt', 'qa', 'ro', 'ru', 'sa', 'rs', 'sg', 'sk', 'si', 'za', 'es', 'se', 'ch', 'tw', 'tt', 'tn', 'tr', 'ua', 'ae', 'gb', 'us', 'uy', 've', 'ci', 'sn', 'bf', 'ke']],

'industry' => ["string", [6, 10]],
'iptype' => ["type", [1,6]],

'devstage' => ["type", [1,6]],
'profitability' => ["type", [1,3]],

"include_benchmark": bool