{ "openapi": "3.1.0", "info": { "title": "Interzoid Individual Match Score API", "description": "This API calculates a similarity score for two individual names to determine how closely they match. The score ranges from 0 to 100, where 100 is a perfect match.\nTo use this API, you need an API key. Register for an API key at [Interzoid Registration](https://www.interzoid.com/register-api-account).\nFor more information about this API, visit the [Interzoid Individual Match Score API Documentation](https://www.interzoid.com/apis/individual-match-score).\n", "version": "1.0.0", "contact": { "name": "Interzoid Support", "url": "https://www.interzoid.com", "email": "support@interzoid.com" } }, "externalDocs": { "description": "API home page and documentation", "url": "https://www.interzoid.com/apis/individual-match-score" }, "servers": [ { "url": "https://api.interzoid.com", "description": "Production server" } ], "tags": [ { "name": "Individual Match Score", "description": "Calculates a similarity score for two individual names." } ], "paths": { "/getfullnamematchscore": { "get": { "tags": [ "Individual Match Score" ], "summary": "Calculate Match Score for Individual Names", "description": "This method calculates a similarity score for two individual names to evaluate how closely they match. A score of 100 indicates a perfect match.\n**Note**: You must include your API key as the `license` parameter in the request. If you do not have an API key, you can register for one at [Interzoid Registration](https://www.interzoid.com/register-api-account).\n", "parameters": [ { "name": "license", "in": "query", "required": true, "description": "Your API license key. Register for an API key at [Interzoid Registration](https://www.interzoid.com/register-api-account).\n", "schema": { "type": "string" }, "examples": { "license": { "summary": "API Key Example", "value": "r2d7df664a7c4ef6h8k" } } }, { "name": "name1", "in": "query", "required": true, "description": "The first individual name for the similarity score comparison.", "schema": { "type": "string" }, "examples": { "name1": { "summary": "Name 1 Example", "value": "Mr. James Kelly" } } }, { "name": "name2", "in": "query", "required": true, "description": "The second individual name for the similarity score comparison.", "schema": { "type": "string" }, "examples": { "name2": { "summary": "Name 2 Example", "value": "Jim Kelly" } } } ], "responses": { "200": { "description": "Successful response containing the similarity score.", "content": { "application/json": { "schema": { "type": "object", "properties": { "Score": { "type": "integer", "description": "The similarity score for the two names (0 to 100)." }, "Credits": { "type": "integer", "description": "Remaining credits for your API license." }, "Message": { "type": "string", "description": "Status message." }, "Code": { "type": "integer", "description": "Response code." } }, "examples": [ { "summary": "Successful response example", "value": { "Score": 85, "Credits": 4999, "Message": "Success", "Code": 200 } } ] } } } }, "400": { "description": "Bad request (e.g., missing or invalid parameters).", "content": { "application/json": { "schema": { "type": "object", "properties": { "Code": { "type": "integer", "description": "Response code." }, "Message": { "type": "string", "description": "Error message." } }, "examples": [ { "summary": "Missing or invalid parameters", "value": { "Code": 400, "Message": "Invalid license key or one or both name parameters missing." } } ] } } } }, "402": { "description": "API key not found.", "content": { "application/json": { "schema": { "type": "object", "properties": { "Code": { "type": "integer", "description": "Response code." }, "Message": { "type": "string", "description": "Error message." } }, "examples": [ { "summary": "API key not found", "value": { "Code": 402, "Message": "API key not found." } } ] } } } }, "403": { "description": "Insufficient API credits remaining.", "content": { "application/json": { "schema": { "type": "object", "properties": { "Code": { "type": "integer", "description": "Response code." }, "Message": { "type": "string", "description": "Error message." } }, "examples": [ { "summary": "Insufficient credits", "value": { "Code": 403, "Message": "Insufficient API credits remaining." } } ] } } } }, "405": { "description": "Method not allowed.", "content": { "application/json": { "schema": { "type": "object", "properties": { "Code": { "type": "integer", "description": "Response code." }, "Message": { "type": "string", "description": "Error message." } }, "examples": [ { "summary": "Wrong HTTP method", "value": { "Code": 405, "Message": "Method not allowed." } } ] } } } }, "429": { "description": "Rate limits reached.", "content": { "application/json": { "schema": { "type": "object", "properties": { "Code": { "type": "integer", "description": "Response code." }, "Message": { "type": "string", "description": "Error message." } }, "examples": [ { "summary": "Rate limit reached", "value": { "Code": 429, "Message": "Rate limits reached." } } ] } } } }, "500": { "description": "Internal server error.", "content": { "application/json": { "schema": { "type": "object", "properties": { "Code": { "type": "integer", "description": "Response code." }, "Message": { "type": "string", "description": "Error message." } }, "examples": [ { "summary": "Server error", "value": { "Code": 500, "Message": "Internal server error." } } ] } } } } } } } }, "components": { "securitySchemes": { "apiKeyAuth": { "type": "apiKey", "name": "license", "in": "query" } }, "schemas": { "ResponseError": { "type": "object", "properties": { "Code": { "type": "integer", "description": "Response code." }, "Message": { "type": "string", "description": "Error message." } } } } }, "security": [ { "apiKeyAuth": [] } ] }