Clay Icon

Using the HTTP API Enrichment with screenshotapi.net - Structuring the API Query

·
·

Hey everyone, I was wondering if someone has ever used the HTTP API enrichment with screenshotapi.net. I don’t know how to structure this API query: https://shot.screenshotapi.net/screenshot?token=G8VTM25-42VM6XV-K0973A5-QQADNPS&url=https%3A%2F%2Fwww.dreamhouseprod.com%2F&width=1250&height=900&fresh=true&output=image&file_type=png&wait_for_event=load I already know that "https://shot.screenshotapi.net/screenshot" is the endpoint, and the method is GET, but I can’t understand where I should place the other parts of the string. The final goal is to replace the website link of the query I presented with the /website column once I understand how to structure it. (This may help you: https://docs.screenshotapi.net/)

  • Avatar of Clay T.
    Clay T.
    APP
    ·
    ·

    Hey there Lorenzo thanks for reaching out, let me take a look.

  • Avatar of Clay T.
    Clay T.
    APP
    ·
    ·

    Hey I want to see how we can set this up, could share your table link so we can see how this works. Also do you have an API key with screenshot.net?

  • Avatar of Lance G.
    Lance G.
    ·
    ·

    Thanks a lot for getting back to me (https://app.clay.com/workspaces/210187/tables/t_0JynnSJtDqPp/views/gv_FNOr8vVIRwg).

  • Avatar of Clay T.
    Clay T.
    APP
    ·
    ·

    Hey Lorenzo, we can run a test with this one but you may want to change it after this since it was posted in a public thread 😅, just to keep your info safe. I'll check the table

  • Avatar of Clay T.
    Clay T.
    APP
    ·
    ·

    Also, quick note, since you're in the free plan, HTTP only gets enabled with the Explorer plan or above. I can add you for you to test for a week, but will have to consider those options after

  • Avatar of Clay T.
    Clay T.
    APP
    ·
    ·

    I actually extended your trial for this, which should work for the next two weeks.

  • Avatar of Clay T.
    Clay T.
    APP
    ·
    ·

    Here's what you replace, token=APIkey and URL you add the column with the links to screenshot

    f7aecd8f-0a98-4635-8f89-7ab624428d84.png(17 kB)
  • Avatar of Clay T.
    Clay T.
    APP
    ·
    ·

    End result after replacing values. Also, the word GET should not got in the endpoint field, I forgot to remove it in the previous screenshot.

    873cb461-89ca-45fa-a4fa-9a49478c6cf0.png(23 kB)
  • Avatar of Lance G.
    Lance G.
    ·
    ·

    Thanks, you really saved my contract, so kind! I've aready changed the API :)