{
	"info": {
		"_postman_id": "b297c8da-6b95-4fd7-889b-8b0cfb45ad1c",
		"name": "Astri API",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "10843106",
		"_collection_link": "https://lunar-robot-99385.postman.co/workspace/Steve~c9e64f8a-1449-4f19-8db7-ade9d36f3845/collection/10843106-b297c8da-6b95-4fd7-889b-8b0cfb45ad1c?action=share&source=collection_link&creator=10843106"
	},
	"item": [
		{
			"name": "Dictionary",
			"item": [
				{
					"name": "Industries",
					"item": [
						{
							"name": "All",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "x-api-key",
										"value": "{{API_KEY}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{API_BASE_URL}}/api/dictionary/industries",
									"host": [
										"{{API_BASE_URL}}"
									],
									"path": [
										"api",
										"dictionary",
										"industries"
									]
								}
							},
							"response": []
						},
						{
							"name": "Map",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "x-api-key",
										"value": "{{API_KEY}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{API_BASE_URL}}/api/dictionary/industries/map?industry=Training, Coaching %26 Career Services",
									"host": [
										"{{API_BASE_URL}}"
									],
									"path": [
										"api",
										"dictionary",
										"industries",
										"map"
									],
									"query": [
										{
											"key": "industry",
											"value": "Training, Coaching & Career Services"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Sub-Industries",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "x-api-key",
										"value": "{{API_KEY}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{API_BASE_URL}}/api/dictionary/sub-industries",
									"host": [
										"{{API_BASE_URL}}"
									],
									"path": [
										"api",
										"dictionary",
										"sub-industries"
									]
								}
							},
							"response": []
						}
					],
					"description": "`/all` returns the list of all industries we have.\n\n`/map` returns a map with industries as key and sub-industries as values of the key.\n\n`/sub-industries`\n\nreturns a list of sub-industries in the specified industry (in query params)"
				},
				{
					"name": "Domains",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "x-api-key",
								"value": "{{API_KEY}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{API_BASE_URL}}/api/dictionary/domains",
							"host": [
								"{{API_BASE_URL}}"
							],
							"path": [
								"api",
								"dictionary",
								"domains"
							]
						}
					},
					"response": []
				},
				{
					"name": "Sub-Industries",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "x-api-key",
								"value": "{{API_KEY}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{API_BASE_URL}}/api/dictionary/sub-industries",
							"host": [
								"{{API_BASE_URL}}"
							],
							"path": [
								"api",
								"dictionary",
								"sub-industries"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Search",
			"item": [
				{
					"name": "Companies",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "x-api-key",
								"value": "{{API_KEY}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"filters\": {\n    \"industry\": \"Data & Analytics\",\n    \"domainType\": \".ai\"\n  },\n  \"withLinkedin\": false,\n  \"addOns\": {\n    \"socialLinks\": true,\n    \"verifiedEmails\": false,\n    \"fundingRounds\": true\n  },\n  \"pagination\": {\n    \"page\": 1,\n    \"limit\": 50\n  }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{API_BASE_URL}}/api/companies/search",
							"host": [
								"{{API_BASE_URL}}"
							],
							"path": [
								"api",
								"companies",
								"search"
							]
						}
					},
					"response": []
				}
			],
			"description": "``` json\n{\n  \"apiKey\": \"your-api-key-here\",\n  \"filters\": {\n    \"industry\": \"Technology\",          // Optional: filter by primary industry\n    \"subIndustries\": [\"AI\", \"SaaS\"],   // Optional: filter by sub-industries\n    \"country\": \"United States\",        // Optional: filter by country\n    \"location\": \"San Francisco\",       // Optional: filter by city/location\n    \"domainType\": \".ai\"                // Optional: filter by domain extension (.ai, .com, .tech, .io, etc.)\n  },\n  \"withLinkedin\": true,                // Optional: if true, only return companies with LinkedIn data and focus on LinkedIn fields\n  \"addOns\": {                          // Optional: additional data (each costs +1 credit per company)\n    \"socialLinks\": true,               // Include social links (LinkedIn, Twitter, website)\n    \"verifiedEmails\": true,            // Include verified email addresses\n    \"fundingRounds\": true              // Include funding rounds & investors data\n  },\n  \"pagination\": {                      // Optional\n    \"page\": 1,                         // Default: 1\n    \"limit\": 20                        // Default: 20, max: 100\n  }\n}\n\n ```"
		},
		{
			"name": "Credits",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "{{API_KEY}}",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{API_BASE_URL}}/api/credits",
					"host": [
						"{{API_BASE_URL}}"
					],
					"path": [
						"api",
						"credits"
					]
				}
			},
			"response": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "API_KEY",
			"value": "your-api-key",
			"type": "string"
		},
		{
			"key": "API_BASE_URL",
			"value": "https://app.hireastri.ai",
			"type": "string"
		}
	]
}