Answer work only online but not with API?

Hello - i try to answer the following question using the API:
Please find the URL for the company: ACMESOLV LLC

When i use this online its working fine with this answer:
The official website for ACMESOLV LLC is www.acmesolv.com​

But when i try to get this using the following code:

  wQuestion = f"Please find the URL for the company: {wCompany}"
  errorFlag = False  
  try:      
    resp = client.chat.completions.create(
      model = "gpt-4o-mini",
      messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": wQuestion}
      ],
      # request_timeout = 60, 
      temperature=0.5
    )
  except Exception as e:
    print(f"Error happened: {e}")
    tmpRow = [f"Error {e}"]
    errorFlag = True
  if not errorFlag:
    wAnswer = resp.choices[0].message.content
    print(wAnswer)

I
I get this answer:
I’m unable to browse the internet in real-time to find specific URLs. However, you can easily find the website for ACMESOLV LLC by performing a search on your preferred search engine. Just type “ACMESOLV LLC” into the search bar, and it should lead you to their official website. If you have any other questions or need further assistance, feel free to ask!

Why is this only working online but not with the API?
Or do i have to rephrase the prompt somehow?