Obtenir la localisation d'un candidat à partir de son IP via l'API
Récupérez la localisation approximative d’un candidat à partir de son adresse IP via l’API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.
Oui. Vous pouvez récupérer les données de géolocalisation d’un candidat (déduites de son adresse IP) via l’API.
Les données de localisation reposent sur la détection de l’IP. Si un candidat utilise un VPN ou un proxy, la localisation renvoyée peut ne pas correspondre à sa position physique réelle.
Quelles données de localisation sont disponibles ?
Pour chaque réponse d’entretien, vous pouvez récupérer :
countryCode
city (nom localisé)
subdivision (code et nom de la région ou de l’État)
Exemple de requête
La requête suivante récupère les données de localisation des questions vidéo et texte :
query InterviewAnswerLocation($id: String!) { interview(id: $id) { steps(input: {}) { ... on InterviewStepVideoQuestionWithVideoAnswer { answers(input: { onlyMostRecent: false }) { ... on InterviewStepVideoQuestionWithVideoAnswerAnswerInterface { location { countryCode city { name { en } } subdivision { code name { en } } } } } } ... on InterviewStepTextQuestionWithVideoAnswer { answers(input: { onlyMostRecent: false }) { ... on InterviewStepTextQuestionWithVideoAnswerAnswerInterface { location { countryCode city { name { en } } subdivision { code name { en } } } } } } } }}
Exemple de réponse
La réponse contient les informations de localisation de chaque réponse :
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hireflix","description":"Hireflix documentation: build one-way video interviews, invite candidates and review answers, integrate the GraphQL API and webhooks, or use Hireflix with AI tools.","colors":{"primary":"#5863ff","light":"#5863ff","dark":"#5863ff"},"logo":{"light":"https://mintcdn.com/hireflixsl/bHMkSBVmVSmTfX8b/logo/hireflixlogo.png?fit=max\u0026auto=format\u0026n=bHMkSBVmVSmTfX8b\u0026q=85\u0026s=890c467a3790f9558a281bf800e80137","dark":"https://mintcdn.com/hireflixsl/Yj7ckCHyUqS0odhN/logo/hireflixlogodark.png?fit=max\u0026auto=format\u0026n=Yj7ckCHyUqS0odhN\u0026q=85\u0026s=0155eaebb2b7555a77cc6c3238c9e44d"},"favicon":"https://mintcdn.com/hireflixsl/B17oCbEUbVwmSF8S/favicon.png?fit=max\u0026auto=format\u0026n=B17oCbEUbVwmSF8S\u0026q=85\u0026s=899d57b20b6d62ac94c688eefa269243","navbar":{"links":[{"href":"https://admin.hireflix.com/","label":"Dashboard"}],"primary":{"type":"button","label":"Playground","href":"https://cdn.hireflix.com/graphql-playground/index.html"}},"footer":{"socials":{"x":"https://x.com/hireflix","github":"https://github.com/hireflix","linkedin":"https://www.linkedin.com/company/hireflix"}},"seo":{"organization":{"name":"Hireflix","url":"https://hireflix.com","sameAs":["https://www.linkedin.com/company/hireflix","https://x.com/hireflix","https://github.com/hireflix"]},"indexing":"navigable"},"integrations":{"intercom":{"appId":"jrtvyg65"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"ai/overview"},{"language":"es","href":"es/ai/overview"},{"language":"fr","href":"fr/ai/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hireflixsl","hasAudioNarration":false,"actualSubdomain":"hireflixsl","customDomains":["docs.hireflix.com"],"gitSource":{"type":"github","owner":"hireflix","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b099a4b597fe4633a40670a","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"en","tag":"User Guide","count":57},{"language":"es","tag":"Guía de usuario","count":57},{"language":"fr","tag":"Guide de l'utilisateur","count":57},{"language":"en","tag":"Tech Docs","count":56},{"language":"es","tag":"Documentación técnica","count":56},{"language":"fr","tag":"Documentation technique","count":56},{"language":"en","tag":"Account \u0026 Team","count":25},{"language":"es","tag":"Cuenta y equipo","count":25},{"language":"fr","tag":"Compte et équipe","count":25},{"language":"es","tag":"Preguntas frecuentes","count":20},{"language":"en","tag":"Features","count":18},{"language":"en","tag":"Automation Integrations","count":18},{"language":"es","tag":"Funcionalidades","count":18},{"language":"es","tag":"Integraciones de automatización","count":18},{"language":"fr","tag":"Fonctionnalités","count":18},{"language":"fr","tag":"Intégrations d'automatisation","count":18},{"language":"en","tag":"ATS","count":14},{"language":"es","tag":"ATS","count":14},{"language":"fr","tag":"ATS","count":14},{"language":"en","tag":"Building the Interview","count":11},{"language":"es","tag":"Crear la entrevista","count":11},{"language":"fr","tag":"Créer l'entretien","count":11},{"language":"en","tag":"FAQs","count":10},{"language":"en","tag":"Common Questions","count":10},{"language":"es","tag":"Primeros pasos","count":10},{"language":"fr","tag":"Premiers pas","count":10},{"language":"fr","tag":"FAQ","count":10},{"language":"fr","tag":"Questions fréquentes","count":10},{"language":"en","tag":"AI","count":9},{"language":"es","tag":"IA","count":9}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"type":"email","email":"support@hireflix.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-assistant-bar]{display:none!important}"}]}
{"page":{"pagePath":"fr/tech/faqs/retrieve-candidate-location-ip","slug":"/fr/tech/faqs/retrieve-candidate-location-ip","pageMetadata":{"title":"Obtenir la localisation d'un candidat à partir de son IP via l'API","sidebarTitle":"Localisation du candidat à partir de l'IP","description":"Récupérez la localisation approximative d'un candidat à partir de son adresse IP via l'API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.","structuredData":{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Puis-je obtenir la localisation d'un candidat à partir de son adresse IP via l'API Hireflix ?","acceptedAnswer":{"@type":"Answer","text":"Oui. Pour chaque réponse, vous pouvez récupérer le code pays, la ville et la région déduits de l'adresse IP du candidat. S'il utilise un VPN ou un proxy, la localisation peut ne pas être la bonne."}}]},"href":"/fr/tech/faqs/retrieve-candidate-location-ip"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Récupérez la localisation approximative d’un candidat à partir de son adresse IP via l’API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Oui.`}),` Vous pouvez récupérer les données de géolocalisation d’un candidat (déduites de son adresse IP) via l’API.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Les données de localisation reposent sur la détection de l’IP. Si un candidat utilise un `,_jsx(_components.strong,{children:`VPN ou un proxy`}),`, la localisation renvoyée peut ne pas correspondre à sa position physique réelle.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-location-data-is-available`,children:`Quelles données de localisation sont disponibles ?`}),`\n`,_jsx(_components.p,{children:`Pour chaque réponse d’entretien, vous pouvez récupérer :`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`countryCode`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`city`}),` (nom localisé)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`subdivision`}),` (code et nom de la région ou de l’État)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`query-example`,children:`Exemple de requête`}),`\n`,_jsx(_components.p,{children:`La requête suivante récupère les données de localisation des questions vidéo et texte :`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`46`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`46`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`query`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` InterviewAnswerLocation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`$id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` interview`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`$id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` steps`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` InterviewStepVideoQuestionWithVideoAnswer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` answers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`onlyMostRecent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` InterviewStepVideoQuestionWithVideoAnswerAnswerInterface`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` location`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` countryCode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` city`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` en`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` subdivision`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` code`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` en`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` InterviewStepTextQuestionWithVideoAnswer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` answers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`onlyMostRecent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` InterviewStepTextQuestionWithVideoAnswerAnswerInterface`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` location`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` countryCode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` city`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` en`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` subdivision`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` code`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` en`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Exemple de réponse`}),`\n`,_jsx(_components.p,{children:`La réponse contient les informations de localisation de chaque réponse :`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"interview\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"steps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"answers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"location\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"countryCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ES\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Barcelona\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subdivision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Catalonia\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`when-should-i-use-this`,children:`Quand l’utiliser ?`}),`\n`,_jsx(_components.p,{children:`Utilisez cette requête si vous devez :`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Valider la région d’origine de l’entretien`}),`\n`,_jsx(_components.li,{children:`Effectuer des contrôles de conformité`}),`\n`,_jsx(_components.li,{children:`Ajouter des signaux de détection de fraude`}),`\n`,_jsx(_components.li,{children:`Enrichir vos données de reporting`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-guides`,children:`Guides associés`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/fr/tech/faqs/fetch-ip-user-agent-thumbnail`,children:`FAQ : Puis-je récupérer l’adresse IP, le User Agent et les miniatures d’entretien via l’API ?`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/fr/tech/features/interviews/fetching-interview-results`,children:`Récupérer les résultats d’un entretien`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Obtenir la localisation d'un candidat à partir de son IP via l'API","sidebarTitle":"Localisation du candidat à partir de l'IP","description":"Récupérez la localisation approximative d'un candidat à partir de son adresse IP via l'API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.","structuredData":{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Puis-je obtenir la localisation d'un candidat à partir de son adresse IP via l'API Hireflix ?","acceptedAnswer":{"@type":"Answer","text":"Oui. Pour chaque réponse, vous pouvez récupérer le code pays, la ville et la région déduits de l'adresse IP du candidat. S'il utilise un VPN ou un proxy, la localisation peut ne pas être la bonne."}}]},"href":"/fr/tech/faqs/retrieve-candidate-location-ip"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Quelles données de localisation sont disponibles ?","slug":"what-location-data-is-available","depth":2,"children":[]},{"title":"Exemple de requête","slug":"query-example","depth":2,"children":[]},{"title":"Exemple de réponse","slug":"example-response","depth":2,"children":[]},{"title":"Quand l’utiliser ?","slug":"when-should-i-use-this","depth":2,"children":[]},{"title":"Guides associés","slug":"related-guides","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"hireflixsl","siteName":"Hireflix","title":"Obtenir la localisation d'un candidat à partir de son IP via l'API - Hireflix","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/tech/faqs/retrieve-candidate-location-ip","matchLevel":1},"es":{"href":"/es/tech/faqs/retrieve-candidate-location-ip","matchLevel":1},"fr":{"href":"/fr/tech/faqs/retrieve-candidate-location-ip","matchLevel":0}}},"lastModified":"2026-11-27T14:28:12.121Z","originalFileLocation":"fr/tech/faqs/retrieve-candidate-location-ip.mdx","locale":"fr"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Récupérez la localisation approximative d\u0026#x27;un candidat à partir de son adresse IP via l\u0026#x27;API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hireflix\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Obtenir la localisation d\u0026#x27;un candidat à partir de son IP via l\u0026#x27;API - Hireflix\">\u003cmeta data-mint-head property=\"og:description\" content=\"Récupérez la localisation approximative d\u0026#x27;un candidat à partir de son adresse IP via l\u0026#x27;API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hireflix\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hireflixsl.mintlify.site/_mintlify/api/og/v2?division=Questions+fr%C3%A9quentes\u0026amp;title=Obtenir+la+localisation+d%27un+candidat+%C3%A0+partir+de+son+IP+via+l%27API\u0026amp;description=R%C3%A9cup%C3%A9rez+la+localisation+approximative+d%27un+candidat+%C3%A0+partir+de+son+adresse+IP+via+l%27API+Hireflix%2C+et+d%C3%A9couvrez+pourquoi+un+VPN+ou+un+proxy+peut+la+fausser.\u0026amp;theme=2e78ba075e3897fe503120a8\u0026amp;signature=1460b6af780fee33d4410cae60324933a3783ec2c4ea64465e3ae27dbeb3fd40\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Obtenir la localisation d\u0026#x27;un candidat à partir de son IP via l\u0026#x27;API - Hireflix\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Récupérez la localisation approximative d\u0026#x27;un candidat à partir de son adresse IP via l\u0026#x27;API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hireflixsl.mintlify.site/_mintlify/api/og/v2?division=Questions+fr%C3%A9quentes\u0026amp;title=Obtenir+la+localisation+d%27un+candidat+%C3%A0+partir+de+son+IP+via+l%27API\u0026amp;description=R%C3%A9cup%C3%A9rez+la+localisation+approximative+d%27un+candidat+%C3%A0+partir+de+son+adresse+IP+via+l%27API+Hireflix%2C+et+d%C3%A9couvrez+pourquoi+un+VPN+ou+un+proxy+peut+la+fausser.\u0026amp;theme=2e78ba075e3897fe503120a8\u0026amp;signature=1460b6af780fee33d4410cae60324933a3783ec2c4ea64465e3ae27dbeb3fd40\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hireflixsl/hGst62VUEBt19_so/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hireflix\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5863ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr/tech/faqs/retrieve-candidate-location-ip.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.hireflix.com/tech/faqs/retrieve-candidate-location-ip\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.hireflix.com/es/tech/faqs/retrieve-candidate-location-ip\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.hireflix.com/tech/faqs/retrieve-candidate-location-ip\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://hireflix.com/#organization\",\"name\":\"Hireflix\",\"url\":\"https://hireflix.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hireflixsl/bHMkSBVmVSmTfX8b/logo/hireflixlogo.png?fit=max\u0026auto=format\u0026n=bHMkSBVmVSmTfX8b\u0026q=85\u0026s=890c467a3790f9558a281bf800e80137\"},\"sameAs\":[\"https://www.linkedin.com/company/hireflix\",\"https://x.com/hireflix\",\"https://github.com/hireflix\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hireflix.com#website\",\"name\":\"Hireflix\",\"url\":\"https://docs.hireflix.com\",\"publisher\":{\"@id\":\"https://hireflix.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip#webpage\",\"url\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip\",\"name\":\"Obtenir la localisation d'un candidat à partir de son IP via l'API\",\"description\":\"Récupérez la localisation approximative d'un candidat à partir de son adresse IP via l'API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.\",\"dateModified\":\"2026-11-27T14:28:12.121Z\",\"isPartOf\":{\"@id\":\"https://docs.hireflix.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"FAQ\",\"item\":\"https://docs.hireflix.com/fr/tech/faqs/can-i-reinvite-candidate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Questions fréquentes\",\"item\":\"https://docs.hireflix.com/fr/tech/faqs/can-i-reinvite-candidate\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Obtenir la localisation d'un candidat à partir de son IP via l'API\",\"item\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip#article\",\"headline\":\"Obtenir la localisation d'un candidat à partir de son IP via l'API\",\"name\":\"Obtenir la localisation d'un candidat à partir de son IP via l'API\",\"description\":\"Récupérez la localisation approximative d'un candidat à partir de son adresse IP via l'API Hireflix, et découvrez pourquoi un VPN ou un proxy peut la fausser.\",\"url\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hireflix.com/fr/tech/faqs/retrieve-candidate-location-ip#webpage\"},\"dateModified\":\"2026-11-27T14:28:12.121Z\",\"publisher\":{\"@id\":\"https://hireflix.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hireflix.com#website\"}},{\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Puis-je obtenir la localisation d'un candidat à partir de son adresse IP via l'API Hireflix ?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Oui. Pour chaque réponse, vous pouvez récupérer le code pays, la ville et la région déduits de l'adresse IP du candidat. S'il utilise un VPN ou un proxy, la localisation peut ne pas être la bonne.\"}}]}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hireflix\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hireflix\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/fr/tech/faqs/retrieve-candidate-location-ip.md","siteName":"Hireflix","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/tech/faqs/retrieve-candidate-location-ip"}]},{"language":"es","pages":[{"title":"es","href":"/es/tech/faqs/retrieve-candidate-location-ip"}]},{"language":"fr","tabs":[{"tab":"IA","icon":"sparkles","pages":[{"title":"IA","href":"/fr/ai/overview"}]},{"tab":"Documentation technique","groups":[{"group":"Premiers pas","pages":[{"title":"Documentation de l'API Hireflix pour les développeurs","icon":"notebook","sidebarTitle":"Vue d'ensemble","href":"/fr/tech"},{"title":"Démarrage rapide de l'API : effectuer votre première requête","sidebarTitle":"Démarrage rapide","icon":"star","mode":"wide","href":"/fr/tech/quickstart"},{"title":"Bases de GraphQL : requêtes et mutations expliquées","icon":"graduation-cap","sidebarTitle":"Bases de GraphQL","href":"/fr/tech/graphql-basics"}]},{"group":"Fonctionnalités","icon":"code","expanded":true,"pages":[{"title":"Vue d'ensemble des flux d'intégration de l'API Hireflix","sidebarTitle":"Vue d'ensemble","href":"/fr/tech/features/overview"},{"group":"Postes","icon":"briefcase","pages":[{"title":"Créer un poste avec entretien via l'API","sidebarTitle":"Créer un poste","mode":"wide","href":"/fr/tech/features/positions/creating-position"},{"title":"Ajouter une question avec image via l'API","sidebarTitle":"Ajouter une question avec image","mode":"wide","href":"/fr/tech/features/positions/image-prompt-questions"},{"title":"Créer des postes en masse avec un script d'API","sidebarTitle":"Créer des postes en masse","mode":"wide","href":"/fr/tech/features/positions/bulk-creating-positions"},{"title":"Récupérer et lister des postes avec l'API Hireflix","sidebarTitle":"Récupérer les postes","mode":"wide","href":"/fr/tech/features/positions/fetching-positions"},{"title":"Modifier les paramètres d'un poste avec l'API","sidebarTitle":"Modifier un poste","mode":"wide","href":"/fr/tech/features/positions/updating-position"},{"title":"Archiver un poste avec l'API Hireflix","sidebarTitle":"Archiver un poste","mode":"wide","href":"/fr/tech/features/positions/archiving-position"},{"title":"Supprimer un poste avec l'API Hireflix","sidebarTitle":"Supprimer un poste","mode":"wide","href":"/fr/tech/features/positions/deleting-position"}]},{"group":"Entretiens","icon":"video","pages":[{"title":"Inviter un candidat à un entretien avec l'API","sidebarTitle":"Inviter un candidat à un poste","mode":"wide","href":"/fr/tech/features/interviews/inviting-candidate"},{"title":"Créer un lien de partage d'entretien avec l'API","sidebarTitle":"Créer l'URL de partage d'un entretien","mode":"wide","href":"/fr/tech/features/interviews/creating-shareable-link"},{"title":"Lister les entretiens d'un poste avec l'API","sidebarTitle":"Lister les entretiens d'un poste","mode":"wide","href":"/fr/tech/features/interviews/list-interviews-for-position"},{"title":"Récupérer les résultats et les réponses d'un entretien avec l'API","sidebarTitle":"Récupérer les résultats d'entretien","mode":"wide","href":"/fr/tech/features/interviews/fetching-interview-results"},{"title":"Récupérer les transcriptions d'un entretien avec l'API","sidebarTitle":"Récupérer les transcriptions d'entretien","mode":"wide","href":"/fr/tech/features/interviews/fetching-interview-transcriptions"},{"title":"Noter et commenter des entretiens avec l'API","sidebarTitle":"Noter et commenter les entretiens","mode":"wide","href":"/fr/tech/features/interviews/scoring-and-commenting-interviews"},{"title":"Présélectionner ou écarter des entretiens avec l'API","sidebarTitle":"Modifier le statut d'un entretien","mode":"wide","href":"/fr/tech/features/interviews/updating-interview-status"},{"title":"Supprimer un entretien avec l'API Hireflix","sidebarTitle":"Supprimer un entretien","mode":"wide","href":"/fr/tech/features/interviews/deleting-interview"},{"title":"Télécharger en masse les vidéos d'entretien avec l'API","sidebarTitle":"Télécharger les vidéos en masse","mode":"wide","href":"/fr/tech/features/interviews/bulk-downloading-videos"}]},{"group":"Modèles de notification","icon":"envelope","pages":[{"title":"Gérer les modèles de notification avec l'API","sidebarTitle":"Gérer les modèles de notification","mode":"wide","href":"/fr/tech/features/templates/managing-notification-templates"}]}]},{"group":"Webhooks","icon":"webhook","expanded":true,"pages":[{"title":"Recevoir des webhooks Hireflix pour les événements d'entretien","sidebarTitle":"Premiers pas","mode":"wide","href":"/fr/tech/webhooks/getting-started"},{"group":"Gérer les webhooks","pages":[{"title":"Lister vos webhooks avec l'API Hireflix","sidebarTitle":"Récupérer les webhooks","mode":"wide","href":"/fr/tech/webhooks/fetching-webhooks"},{"title":"Modifier un webhook Hireflix avec l'API GraphQL","sidebarTitle":"Modifier un webhook","mode":"wide","href":"/fr/tech/webhooks/updating-webhook"},{"title":"Supprimer un webhook Hireflix avec l'API GraphQL","sidebarTitle":"Supprimer un webhook","mode":"wide","href":"/fr/tech/webhooks/deleting-webhook"},{"title":"Déboguer les webhooks avec les journaux d'envoi Hireflix","sidebarTitle":"Journaux d'envoi des webhooks","mode":"wide","href":"/fr/tech/webhooks/webhook-delivery-logs"}]},{"title":"Vérifier les signatures des webhooks Hireflix","sidebarTitle":"Valider les événements de webhook","mode":"wide","href":"/fr/tech/webhooks/validate-webhook-events"},{"title":"Suivre les abandons de candidats dans l'entonnoir d'entretiens","sidebarTitle":"Suivre les abandons","mode":"wide","href":"/fr/tech/webhooks/tracking-interview-funnel"}]},{"group":"Intégrations d'automatisation","icon":"gear","expanded":true,"pages":[{"title":"Intégrations ATS et d'automatisation pour Hireflix","sidebarTitle":"Vue d'ensemble","href":"/fr/tech/integrations/overview"},{"group":"ATS","icon":"laptop","pages":[{"title":"Connecter Ashby aux entretiens vidéo Hireflix","sidebarTitle":"Ashby","href":"/fr/tech/integrations/ats/ashby"},{"title":"Connecter BambooHR aux entretiens vidéo Hireflix","sidebarTitle":"BambooHR","href":"/fr/tech/integrations/ats/bamboohr"},{"title":"Intégration d'entretiens vidéo différés avec Greenhouse","sidebarTitle":"Greenhouse","href":"/fr/tech/integrations/ats/greenhouse"},{"title":"Connecter JazzHR aux entretiens vidéo Hireflix","sidebarTitle":"JazzHR","href":"/fr/tech/integrations/ats/jazzhr"},{"title":"Présélection vidéo asynchrone pour l'ATS Lever","sidebarTitle":"Lever","href":"/fr/tech/integrations/ats/lever"},{"title":"Connecter Loxo aux entretiens vidéo Hireflix","sidebarTitle":"Loxo","href":"/fr/tech/integrations/ats/loxo"},{"title":"Connecter Manatal aux entretiens vidéo Hireflix","sidebarTitle":"Manatal","href":"/fr/tech/integrations/ats/manatal"},{"title":"Connecter Pinpoint aux entretiens vidéo Hireflix","sidebarTitle":"Pinpoint","href":"/fr/tech/integrations/ats/pinpoint"},{"title":"Connecter Recruitee aux entretiens vidéo Hireflix","sidebarTitle":"Recruitee","href":"/fr/tech/integrations/ats/recruitee"},{"title":"Connecter Recruiterflow aux entretiens Hireflix","sidebarTitle":"RecruiterFlow","href":"/fr/tech/integrations/ats/recruiterflow"},{"title":"Connecter SmartRecruiters aux entretiens Hireflix","sidebarTitle":"SmartRecruiters","href":"/fr/tech/integrations/ats/smartrecruiters"},{"title":"Connecter Teamtailor aux entretiens vidéo Hireflix","sidebarTitle":"Teamtailor","href":"/fr/tech/integrations/ats/teamtailor"},{"title":"Connecter Workable aux entretiens vidéo Hireflix","sidebarTitle":"Workable","href":"/fr/tech/integrations/ats/workable"},{"title":"Connecter Zoho Recruit aux entretiens vidéo Hireflix","sidebarTitle":"ZohoRecruit","href":"/fr/tech/integrations/ats/zohorecruit"}]},{"group":"Autres","icon":"bolt","pages":[{"title":"Appeler l'API Hireflix depuis Make (Make.com)","sidebarTitle":"Make","href":"/fr/tech/integrations/other/make"},{"title":"Appeler l'API GraphQL Hireflix depuis Zapier","sidebarTitle":"Zapier","href":"/fr/tech/integrations/other/zapier"},{"title":"Intégrer un entretien Hireflix sur votre site Wix","sidebarTitle":"Wix","href":"/fr/tech/integrations/other/wix"}]}]},{"group":"FAQ","icon":"book-open","expanded":false,"pages":[{"group":"Questions fréquentes","icon":"","pages":[{"title":"Réinviter un candidat avec l'API Hireflix","sidebarTitle":"Puis-je réinviter un candidat ?","href":"/fr/tech/faqs/can-i-reinvite-candidate"},{"title":"Convertir une requête GraphQL en chaîne sur une ligne","sidebarTitle":"Convertir une requête au format web sur une ligne ?","href":"/fr/tech/faqs/how-convert-query-one-line-format"},{"title":"Récupérer les journaux d'audit du compte avec l'API Hireflix","sidebarTitle":"Puis-je récupérer les journaux de mon compte ?","href":"/fr/tech/faqs/fetch-account-logs"},{"title":"Intégrer un entretien Hireflix dans votre application (iframe)","sidebarTitle":"Intégrer un entretien Hireflix dans mon application ?","href":"/fr/tech/faqs/can-i-embed-hireflix"},{"title":"Les utilisateurs peuvent-ils créer des entretiens dans mon propre ATS ?","sidebarTitle":"Créer des entretiens dans mon ATS ?","href":"/fr/tech/faqs/build-interviews-in-own-ats"},{"title":"Préremplir les informations du candidat dans un lien public","sidebarTitle":"Préremplir des paramètres dans les liens publics ?","href":"/fr/tech/faqs/add-params-to-public-interview"},{"title":"Rechercher un candidat dans votre compte via l'API","sidebarTitle":"Puis-je rechercher un candidat ?","href":"/fr/tech/faqs/can-i-search-for-a-candidate-within-my-account"},{"title":"Résoudre les problèmes de caméra dans une WebView iOS (WKWebView)","sidebarTitle":"Problèmes de WebView iOS","href":"/fr/tech/faqs/ios-app-webview"},{"title":"Récupérer l'IP, le User Agent et les miniatures du candidat","sidebarTitle":"Récupérer l'IP, le User Agent et les miniatures via l'API ?","description":"Récupérez les adresses IP, les user agents et les miniatures de l'entretien Hireflix d'un candidat via l'API GraphQL authentifiée.","href":"/fr/tech/faqs/fetch-ip-user-agent-thumbnail"},{"title":"Obtenir la localisation d'un candidat à partir de son IP via l'API","sidebarTitle":"Localisation du candidat à partir de l'IP","href":"/fr/tech/faqs/retrieve-candidate-location-ip"}]}]}]},{"tab":"Guide de l'utilisateur","pages":[{"title":"Guide de l'utilisateur","href":"/fr/user/overview"}]}]}]},"basePath":"","title":"Obtenir la localisation d'un candidat à partir de son IP via l'API - Hireflix","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}