API 开发文档简历解析、职位解析和简历画像 API 的完整技术文档,包括接口说明、参数详情和返回示例
接口概述
简历解析 API 支持上传 PDF、DOC、DOCX 格式的简历文件或图片,自动提取并结构化简历中的关键信息。
接口地址
POST
https://openapi.51mee.com/api/v1/parse/resume请求参数
Content-Type: multipart/form-data
file必填 File - 简历文件(支持 PDF、DOC、DOCX、图片)
请求头(可选)
AuthorizationBearer YOUR_JWT_TOKEN已登录用户每日可请求 100 次,未登录用户每日 10 次
示例代码
const formData = new FormData(); formData.append('file', fileInput.files[0]); const response = await fetch('https://openapi.51mee.com/api/v1/parse/resume', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_JWT_TOKEN' }, body: formData, credentials: 'include' }); const result = await response.json(); if (result.code === 0) { console.log('解析成功:', result.data.resume_json); } else { console.error('解析失败:', result.message); }
返回结果
{
"code": 0,
"message": "success",
"data": {
"resume_json": {
"name": "张三",
"gender": 1,
"birthday": "1995-03-15",
"age": 29,
"avatar_url": "",
"contact_info": {
"phone": "138****8888",
"email": "zhangsan@example.com",
"wechat": "zhangsan_wx",
"address": "北京市朝阳区"
},
"intention": {
"position": "高级Java开发工程师",
"salary": "20k-30k",
"location": ["北京", "上海"],
"industry": ["互联网"],
"job_type": "全职"
},
"work_experience": [
{
"company": "字节跳动",
"position": "Java开发工程师",
"start_date": "2020-07",
"end_date": "2024-01",
"duration": "3年6个月",
"description": "负责推荐系统后端开发...",
"achievements": ["优化算法性能提升30%", "..."]
}
],
"education": [
{
"school": "清华大学",
"major": "计算机科学与技术",
"degree": 4,
"start_date": "2013-09",
"end_date": "2017-07",
"gpa": "3.8/4.0"
}
],
"skills": ["Java", "Spring Boot", "MySQL", "Redis"],
"projects": [...],
"certifications": [...],
"awards": [...],
"self_evaluation": "..."
}
}
}错误码说明
0成功
1请求失败(缺少参数、格式错误、权限不足等)
