Skip to main content
POST
/
ai
/
rate-recommendation
Get Rate Recommendation
curl --request POST \
  --url https://api.example.com/ai/rate-recommendation \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "role": "<string>",
  "seniority": "<string>",
  "myLocation": "<string>",
  "currentRate": 123,
  "providerType": "freelancer",
  "clientLocation": "<string>",
  "companySize": "<string>",
  "industry": "<string>",
  "clientType": "<string>",
  "language": "en",
  "currency": "USD",
  "apiKey": "<string>",
  "aiProvider": "gemini",
  "openaiApiKey": "<string>",
  "anthropicApiKey": "<string>"
}
'
{
  "rate": "<string>",
  "reasoning": "<string>",
  "success": true,
  "error": "<string>",
  "inferredLocation": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Schema for rate recommendation request.

role
string
required
seniority
string
required
myLocation
string
required
currentRate
required
providerType
string | null
default:freelancer
clientLocation
string | null
companySize
string | null
industry
string | null
clientType
string | null
language
enum<string>
default:en
Available options:
es,
en
currency
string
default:USD
apiKey
string | null
aiProvider
enum<string> | null
default:gemini
Available options:
gemini,
openai,
anthropic
openaiApiKey
string | null
anthropicApiKey
string | null

Response

Successful Response

Schema for rate recommendation response.

rate
string
required
reasoning
string
required
success
boolean
default:true
error
string | null
inferredLocation
string | null